summaryrefslogtreecommitdiff
path: root/core/es_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/es_isolate.rs
parent7fff2d2d1e73b4b7cece9c8e3c58763f5f257303 (diff)
Remove impl Send for Isolate and EsIsolate (#4151)
Diffstat (limited to 'core/es_isolate.rs')
-rw-r--r--core/es_isolate.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/es_isolate.rs b/core/es_isolate.rs
index 0746804f1..ea3e7b4b9 100644
--- a/core/es_isolate.rs
+++ b/core/es_isolate.rs
@@ -82,10 +82,6 @@ impl DerefMut for EsIsolate {
}
}
-// TODO(ry): a V8 Isolate cannot actually be moved between threads without the
-// use of a Locker, therefore EsIsolate should not implement the `Send` trait.
-unsafe impl Send for EsIsolate {}
-
impl EsIsolate {
pub fn new(
loader: Rc<dyn Loader + Unpin>,