From f43c092932399678f45e515eec87589d79b63ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20P=C3=A9rez-Llamas?= <932644+chris-zen@users.noreply.github.com> Date: Thu, 19 Sep 2019 09:27:33 +0200 Subject: [PATCH] implement Send for BoxedCallback (#15) --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) 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 {