pub fn init_panic_hook(capture_backtraces: bool)
Expand description
Initializes the panic hook for IPC usage.
When enabled the default panic handler is disabled and panics are stored in a
thread local storage. This needs to be called for the catch_panic
function in this module to provide the correct panic info.