Skip to main content

clear

Function clear 

Source
pub fn clear()
Expand description

Drop all registered units. Called from the process-wide reset path in crate::run so a second invocation of run() in the same process starts with a clean registry.