diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-03-15 20:38:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 21:38:16 +0100 |
commit | c342cd36ba1af12d005167369d3a2f508496ef5d (patch) | |
tree | f875512a283166eae46dfddf5ca26f29c482499e /cli/worker.rs | |
parent | e40f9a5c14c51b6d05812e48fa072148fe79c74d (diff) |
fix(ext/node): worker_threads doesn't exit if there are message listeners (#22944)
Closes https://github.com/denoland/deno/issues/22934
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 a1872817f..40c3cfcc3 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -610,7 +610,6 @@ impl CliMainWorkerFactory { disable_deprecated_api_warning: shared.disable_deprecated_api_warning, verbose_deprecated_api_warning: shared.verbose_deprecated_api_warning, future: shared.enable_future_features, - close_on_idle: true, }, extensions: custom_extensions, startup_snapshot: crate::js::deno_isolate_init(), @@ -815,7 +814,6 @@ fn create_web_worker_callback( disable_deprecated_api_warning: shared.disable_deprecated_api_warning, verbose_deprecated_api_warning: shared.verbose_deprecated_api_warning, future: false, - close_on_idle: args.close_on_idle, }, extensions: vec![], startup_snapshot: crate::js::deno_isolate_init(), |