mirror of
https://github.com/denoland/deno.git
synced 2025-08-31 15:57:53 +00:00
fix(ext/node): worker_threads doesn't exit if there are message listeners (#22944)
Closes https://github.com/denoland/deno/issues/22934
This commit is contained in:
parent
e40f9a5c14
commit
c342cd36ba
7 changed files with 91 additions and 36 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue