summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/es_isolate.rs4
-rw-r--r--core/isolate.rs4
2 files changed, 0 insertions, 8 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>,
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() {