Skip to main content

set_panic_cleanup

Function set_panic_cleanup 

Source
pub fn set_panic_cleanup(f: impl Fn() + Send + Sync + 'static)
Expand description

Register a cleanup callback (e.g. leave alternate screen) run before crash I/O.