diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-11-24 07:42:30 -0800 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-11-24 10:42:30 -0500 |
commit | bca23e64339f9b41272e4a01e4c1a86602e5c1e4 (patch) | |
tree | fe72fe56fd0f9ffa8e7392ec1941cce3300915ec /cli/compilers | |
parent | 9e97eb287954393615ec89d42e7ca5548ecb0881 (diff) |
refactor: Elevate DenoPermissions lock to top level (#3398)
Diffstat (limited to 'cli/compilers')
-rw-r--r-- | cli/compilers/ts.rs | 2 | ||||
-rw-r--r-- | cli/compilers/wasm.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs index ff5405f52..0e3e0b95d 100644 --- a/cli/compilers/ts.rs +++ b/cli/compilers/ts.rs @@ -229,7 +229,7 @@ impl TsCompiler { 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. 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. |