From bca23e64339f9b41272e4a01e4c1a86602e5c1e4 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Sun, 24 Nov 2019 07:42:30 -0800 Subject: refactor: Elevate DenoPermissions lock to top level (#3398) --- cli/compilers/wasm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/compilers/wasm.rs') 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. -- cgit v1.2.3