summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-06-13 23:53:04 +0200
committerGitHub <noreply@github.com>2022-06-13 23:53:04 +0200
commitfc3a966a2d0be8fc76c384603bf18b55e0bbcf14 (patch)
tree2a3425488e0a199c035efbdde35c45cae1c22fb7 /cli/main.rs
parent4a0a412d7cd077ff519b4da8f6ffd1247c6375a5 (diff)
Deno.exit() is an alias to self.close() in worker contexts (#14826)
This commit changes Deno.exit() to be an alias to self.close() in worker contexts, and the provided exit code becomes is ignored.
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 25f472854..1f545d51f 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -178,7 +178,6 @@ fn create_web_worker_callback(
broadcast_channel: ps.broadcast_channel.clone(),
shared_array_buffer_store: Some(ps.shared_array_buffer_store.clone()),
compiled_wasm_module_store: Some(ps.compiled_wasm_module_store.clone()),
- exit_code: args.exit_code,
stdio: stdio.clone(),
};