Skip to content

Commit 8e38cdf

Browse files
committed
fix: OwnedJsValue should not be Send+Sync
1 parent e89081e commit 8e38cdf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/value/value.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ pub struct OwnedJsValue {
3434
pub(crate) value: q::JSValue,
3535
}
3636

37-
unsafe impl Send for OwnedJsValue {}
38-
unsafe impl Sync for OwnedJsValue {}
39-
4037
impl PartialEq for OwnedJsValue {
4138
fn eq(&self, other: &Self) -> bool {
4239
unsafe { q::JS_VALUE_GET_PTR(self.value) == q::JS_VALUE_GET_PTR(other.value) }

0 commit comments

Comments
 (0)