diff --git a/src/lib.rs b/src/lib.rs index 6eb262e..4b2ce87 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -761,6 +761,9 @@ pin_project_lite::pin_project! { unsafe impl Send for EventListener {} unsafe impl Sync for EventListener {} +impl core::panic::UnwindSafe for EventListener {} +impl core::panic::RefUnwindSafe for EventListener {} + impl fmt::Debug for EventListener { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("EventListener")