Skip to main content

flush_plugin_stores

Function flush_plugin_stores 

Source
pub fn flush_plugin_stores()
Expand description

Write out every plugin’s store before the process exits.

Called by the binary, after its UI returns. A store is otherwise written only when it changes, at most once a second, so the last second of changes would be lost on exit: Drop never runs for a store whose handle a task on a static runtime still holds.