You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Honestly, I don't know why the Rust stdlib doesn't do this, because besaid method exists and also can be obtained using take_hook. Nevertheless, it would be cool if this workaround wasn't necessary and I could simply call log_panics::hook(info) instead.
Motivation: I need to do some cleanup+shutdown in my panic hook.
The text was updated successfully, but these errors were encountered:
Honestly, I don't know why the Rust stdlib doesn't do this, because besaid method exists and also can be obtained using
take_hook
. Nevertheless, it would be cool if this workaround wasn't necessary and I could simply calllog_panics::hook(info)
instead.Motivation: I need to do some cleanup+shutdown in my panic hook.
The text was updated successfully, but these errors were encountered: