diff --git a/src/lib.rs b/src/lib.rs index 6868c4b4a..daa1dcd04 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -93,6 +93,8 @@ impl BoxedCallback { } } +unsafe impl Send for BoxedCallback {} + impl Drop for BoxedCallback { fn drop(&mut self) { unsafe {