Closed longshorej closed 5 years ago
Currently we're using catch_unwind, which we shouldn't. Requiring the user's code to be UnwindSafe is not ergonomic.
catch_unwind
UnwindSafe
Instead, use a Deferred that checks thread::panicking and dispatches the appropriate events.
Deferred
thread::panicking
Superseded by #57
Currently we're using
catch_unwind
, which we shouldn't. Requiring the user's code to beUnwindSafe
is not ergonomic.Instead, use a
Deferred
that checksthread::panicking
and dispatches the appropriate events.