summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-01-07 12:45:44 +0100
committerGitHub <noreply@github.com>2020-01-07 12:45:44 +0100
commitad9fd589d4131e847721323a730ba91161f1b95b (patch)
tree629af315e9b91c62ff6bdba86e775f0b17fa69ea /cli/worker.rs
parent8bf383710fc32efdbf2996abf5130bbd9aecacd1 (diff)
core: factor out EsIsolate from Isolate (#3613)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index e25aa8018..cd8d6c8ae 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -35,7 +35,7 @@ pub struct WorkerChannels {
#[derive(Clone)]
pub struct Worker {
pub name: String,
- isolate: Arc<Mutex<Box<deno_core::Isolate>>>,
+ isolate: Arc<Mutex<Box<deno_core::EsIsolate>>>,
pub state: ThreadSafeState,
external_channels: Arc<Mutex<WorkerChannels>>,
}
@@ -48,7 +48,7 @@ impl Worker {
external_channels: WorkerChannels,
) -> Self {
let isolate =
- Arc::new(Mutex::new(deno_core::Isolate::new(startup_data, false)));
+ Arc::new(Mutex::new(deno_core::EsIsolate::new(startup_data, false)));
{
let mut i = isolate.lock().unwrap();
let op_registry = i.op_registry.clone();