Function set_leak_reporter
pub fn set_leak_reporter(
reporter: Option<Box<dyn Fn(NativeHandleLeak) + Sync + Send>>,
) -> boolExpand description
Installs the process-wide reporter for handles a destructor could not
destroy, replacing any previous one, and returns whether one was installed.
Explicit close reports the same failure through the normal error path.