diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2023-03-13 08:58:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 12:58:17 +0000 |
commit | 224cff7a2f1de9cc821c34ccac63cc9e4ef17531 (patch) | |
tree | fc3a8b28fc139899543724391b752e1bd5ed10a2 /cli/worker.rs | |
parent | e712fbfe4a56cf0d8e39354afbb8204e83d147f3 (diff) |
Revert "feat(core): prevent isolate drop for CLI main worker (#18059)" (#18157)
Fixes https://github.com/denoland/deno/issues/18120
https://github.com/denoland/deno/issues/18137
https://github.com/denoland/fresh/issues/1073
This reverts commit 0cce9c2bcc9667935a571d30847e66ef5d01a196.
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 33352a2d7..97794caf3 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -548,7 +548,6 @@ async fn create_main_worker_internal( shared_array_buffer_store: Some(ps.shared_array_buffer_store.clone()), compiled_wasm_module_store: Some(ps.compiled_wasm_module_store.clone()), stdio, - leak_isolate: !bench_or_test && ps.options.coverage_dir().is_none(), }; let mut worker = MainWorker::bootstrap_from_options( @@ -778,7 +777,6 @@ mod tests { shared_array_buffer_store: None, compiled_wasm_module_store: None, stdio: Default::default(), - leak_isolate: false, }; MainWorker::bootstrap_from_options(main_module, permissions, options) |