diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/inspector.rs | 2 | ||||
-rw-r--r-- | cli/worker.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/inspector.rs b/cli/inspector.rs index 4a6fe7a14..6992e9855 100644 --- a/cli/inspector.rs +++ b/cli/inspector.rs @@ -394,7 +394,7 @@ impl DenoInspector { server: Option<Arc<InspectorServer>>, ) -> Box<Self> { let context = isolate.global_context(); - let scope = &mut v8::HandleScope::new(&mut **isolate); + let scope = &mut v8::HandleScope::new(isolate.v8_isolate()); let (new_websocket_tx, new_websocket_rx) = mpsc::unbounded::<WebSocketProxy>(); diff --git a/cli/worker.rs b/cli/worker.rs index 47e5c4761..0a50b5624 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -428,7 +428,7 @@ impl WebWorker { ); let terminated = Arc::new(AtomicBool::new(false)); - let isolate_handle = worker.isolate.thread_safe_handle(); + let isolate_handle = worker.isolate.v8_isolate().thread_safe_handle(); let (terminate_tx, terminate_rx) = mpsc::channel::<()>(1); let handle = WebWorkerHandle { |