Skip to main content

flush

Function flush 

Source
pub fn flush()
Expand description

Save the buffered map when it changed and its last save lies HEATMAP_SAVE_EVERY back. Runs after every tool call (tool_lifecycle::flush_all): before, it rewrote the whole file on every call once anything had changed, because it never cleared dirty.