diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-16 23:40:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 23:40:29 +0200 |
commit | d359789c529d3c7b5fab5471309eaa4b75fc0bfd (patch) | |
tree | d9e9d45c2d65054c382a5bea1d818ea049b832bd /cli/compilers/compiler_worker.rs | |
parent | 1cd1f7de70b8ee68d2f6757f2b38a712ea1f3876 (diff) |
feat: support Deno namespace in Worker API (#4784)
Diffstat (limited to 'cli/compilers/compiler_worker.rs')
-rw-r--r-- | cli/compilers/compiler_worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/compilers/compiler_worker.rs b/cli/compilers/compiler_worker.rs index a1d2dc71c..aa84c8695 100644 --- a/cli/compilers/compiler_worker.rs +++ b/cli/compilers/compiler_worker.rs @@ -30,7 +30,7 @@ pub struct CompilerWorker(WebWorker); impl CompilerWorker { pub fn new(name: String, startup_data: StartupData, state: State) -> Self { let state_ = state.clone(); - let mut worker = WebWorker::new(name, startup_data, state_); + let mut worker = WebWorker::new(name, startup_data, state_, false); { let isolate = &mut worker.isolate; ops::compiler::init(isolate, &state); |