summaryrefslogtreecommitdiff
path: root/runtime/worker_bootstrap.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-03-15 20:38:16 +0000
committerGitHub <noreply@github.com>2024-03-15 21:38:16 +0100
commitc342cd36ba1af12d005167369d3a2f508496ef5d (patch)
treef875512a283166eae46dfddf5ca26f29c482499e /runtime/worker_bootstrap.rs
parente40f9a5c14c51b6d05812e48fa072148fe79c74d (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 'runtime/worker_bootstrap.rs')
-rw-r--r--runtime/worker_bootstrap.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/worker_bootstrap.rs b/runtime/worker_bootstrap.rs
index e3e226b13..c019dae1a 100644
--- a/runtime/worker_bootstrap.rs
+++ b/runtime/worker_bootstrap.rs
@@ -63,7 +63,6 @@ pub struct BootstrapOptions {
pub disable_deprecated_api_warning: bool,
pub verbose_deprecated_api_warning: bool,
pub future: bool,
- pub close_on_idle: bool,
}
impl Default for BootstrapOptions {
@@ -95,7 +94,6 @@ impl Default for BootstrapOptions {
disable_deprecated_api_warning: false,
verbose_deprecated_api_warning: false,
future: false,
- close_on_idle: false,
}
}
}
@@ -131,8 +129,6 @@ struct BootstrapV8<'a>(
bool,
// future
bool,
- // close_on_idle
- bool,
);
impl BootstrapOptions {
@@ -155,7 +151,6 @@ impl BootstrapOptions {
self.disable_deprecated_api_warning,
self.verbose_deprecated_api_warning,
self.future,
- self.close_on_idle,
);
bootstrap.serialize(ser).unwrap()