From fb1075da6e33a65daaa3e9c2ecf1d7a9a5021f58 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 26 Feb 2020 16:10:41 -0500 Subject: Remove impl Send for Isolate and EsIsolate (#4151) --- core/isolate.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/isolate.rs') diff --git a/core/isolate.rs b/core/isolate.rs index 4a1c1bbd4..08141c603 100644 --- a/core/isolate.rs +++ b/core/isolate.rs @@ -182,10 +182,6 @@ pub struct Isolate { error_handler: Option>, } -// TODO(ry): a V8 Isolate cannot actually be moved between threads without the -// use of a Locker, therefore Isolate should not implement the `Send` trait. -unsafe impl Send for Isolate {} - impl Drop for Isolate { fn drop(&mut self) { if let Some(creator) = self.snapshot_creator.take() { -- cgit v1.2.3