pub(crate) fn miniextendr_panic_hook_uninstall()Expand description
Remove the miniextendr panic hook and revert to Rust’s default.
Called from miniextendr_runtime_shutdown (which runs in
R_unload_<pkg>). Must run before the DLL’s code pages are unmapped —
otherwise the next panic, anywhere in the process, executes freed
memory. See #277.
Idempotent: safe to call even if the hook wasn’t installed.