diff --git a/crates/napi/src/bindgen_runtime/js_values/value_ref.rs b/crates/napi/src/bindgen_runtime/js_values/value_ref.rs index d325bddb..9ab7db42 100644 --- a/crates/napi/src/bindgen_runtime/js_values/value_ref.rs +++ b/crates/napi/src/bindgen_runtime/js_values/value_ref.rs @@ -29,6 +29,9 @@ pub struct Reference { finalize_callbacks: Rc>, } +unsafe impl Send for Reference {} +unsafe impl Sync for Reference {} + impl Drop for Reference { fn drop(&mut self) { let rc_strong_count = Rc::strong_count(&self.finalize_callbacks);