Skip to content

Commit

Permalink
implement Send for BoxedCallback (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-zen authored Sep 19, 2019
1 parent 9de94b5 commit f43c092
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ impl<T> BoxedCallback<T> {
}
}

unsafe impl<T> Send for BoxedCallback<T> {}

impl<T> Drop for BoxedCallback<T> {
fn drop(&mut self) {
unsafe {
Expand Down

0 comments on commit f43c092

Please sign in to comment.