From 9b70f2f34540909daf4f4bce5ab77e3bfb8f1bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 7 Oct 2020 17:20:20 +0200 Subject: refactor: rename isolate to js_runtime (#7858) This commit renames occurrences of "isolate" variable name to "js_runtime". This was outstanding debt after renaming deno_core::CoreIsolate to JsRuntime. --- cli/ops/worker_host.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/ops') diff --git a/cli/ops/worker_host.rs b/cli/ops/worker_host.rs index 17e0e397f..6d74bb9f4 100644 --- a/cli/ops/worker_host.rs +++ b/cli/ops/worker_host.rs @@ -62,7 +62,7 @@ fn create_web_worker( ); if has_deno_namespace { - let state = worker.isolate.op_state(); + let state = worker.js_runtime.op_state(); let mut state = state.borrow_mut(); let (stdin, stdout, stderr) = get_stdio(); if let Some(stream) = stdin { -- cgit v1.2.3