diff options
Diffstat (limited to 'cli/compilers/wasm.rs')
-rw-r--r-- | cli/compilers/wasm.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/compilers/wasm.rs b/cli/compilers/wasm.rs index 0cba8118e..a3e578f01 100644 --- a/cli/compilers/wasm.rs +++ b/cli/compilers/wasm.rs @@ -45,12 +45,11 @@ pub struct WasmCompiler { impl WasmCompiler { /// Create a new V8 worker with snapshot of WASM compiler and setup compiler's runtime. fn setup_worker(global_state: ThreadSafeGlobalState) -> CompilerWorker { - let (int, ext) = ThreadSafeState::create_channels(); let entry_point = ModuleSpecifier::resolve_url_or_path("./__$deno$wasm_compiler.ts") .unwrap(); let worker_state = - ThreadSafeState::new(global_state.clone(), None, entry_point, int) + ThreadSafeState::new(global_state.clone(), None, entry_point) .expect("Unable to create worker state"); // Count how many times we start the compiler worker. @@ -63,7 +62,6 @@ impl WasmCompiler { "WASM".to_string(), startup_data::compiler_isolate_init(), worker_state, - ext, ); worker.execute("bootstrapWasmCompilerRuntime()").unwrap(); worker |