summaryrefslogtreecommitdiff
path: root/core/isolate.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-02-26 16:10:41 -0500
committerGitHub <noreply@github.com>2020-02-26 16:10:41 -0500
commitfb1075da6e33a65daaa3e9c2ecf1d7a9a5021f58 (patch)
tree713e95c873a6d6cf2aeea0578fcbcabf14f81df5 /core/isolate.rs
parent7fff2d2d1e73b4b7cece9c8e3c58763f5f257303 (diff)
Remove impl Send for Isolate and EsIsolate (#4151)
Diffstat (limited to 'core/isolate.rs')
-rw-r--r--core/isolate.rs4
1 files changed, 0 insertions, 4 deletions
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<Box<IsolateErrorHandleFn>>,
}
-// 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() {