diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-02-26 16:10:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 16:10:41 -0500 |
commit | fb1075da6e33a65daaa3e9c2ecf1d7a9a5021f58 (patch) | |
tree | 713e95c873a6d6cf2aeea0578fcbcabf14f81df5 /core/es_isolate.rs | |
parent | 7fff2d2d1e73b4b7cece9c8e3c58763f5f257303 (diff) |
Remove impl Send for Isolate and EsIsolate (#4151)
Diffstat (limited to 'core/es_isolate.rs')
-rw-r--r-- | core/es_isolate.rs | 4 |
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>, |