summaryrefslogtreecommitdiff
path: root/cli/compilers/wasm.rs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-11-24 07:42:30 -0800
committerRy Dahl <ry@tinyclouds.org>2019-11-24 10:42:30 -0500
commitbca23e64339f9b41272e4a01e4c1a86602e5c1e4 (patch)
treefe72fe56fd0f9ffa8e7392ec1941cce3300915ec /cli/compilers/wasm.rs
parent9e97eb287954393615ec89d42e7ca5548ecb0881 (diff)
refactor: Elevate DenoPermissions lock to top level (#3398)
Diffstat (limited to 'cli/compilers/wasm.rs')
-rw-r--r--cli/compilers/wasm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/compilers/wasm.rs b/cli/compilers/wasm.rs
index 2e565dd93..22ec6526c 100644
--- a/cli/compilers/wasm.rs
+++ b/cli/compilers/wasm.rs
@@ -47,7 +47,7 @@ impl WasmCompiler {
fn setup_worker(global_state: ThreadSafeGlobalState) -> Worker {
let (int, ext) = ThreadSafeState::create_channels();
let worker_state =
- ThreadSafeState::new(global_state.clone(), None, true, int)
+ ThreadSafeState::new(global_state.clone(), None, None, true, int)
.expect("Unable to create worker state");
// Count how many times we start the compiler worker.