summaryrefslogtreecommitdiff
path: root/cli/inspector.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-10-07 15:56:52 +0200
committerGitHub <noreply@github.com>2020-10-07 15:56:52 +0200
commit83f6def3c62e7f336516d59881e8f9f7846d9024 (patch)
treea47fe0c185f2ca5f623b861f31a0b395616e6e34 /cli/inspector.rs
parentc226d3af2572c93af21f5a3261ede4dd8855685e (diff)
refactor(core): JsRuntime doesn't defer to OwnedIsolate (#7853)
Remove Deref and DeferMut implementations for JsRuntime.
Diffstat (limited to 'cli/inspector.rs')
-rw-r--r--cli/inspector.rs2
1 files changed, 1 insertions, 1 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>();