From c342cd36ba1af12d005167369d3a2f508496ef5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 15 Mar 2024 20:38:16 +0000 Subject: fix(ext/node): worker_threads doesn't exit if there are message listeners (#22944) Closes https://github.com/denoland/deno/issues/22934 --- runtime/worker_bootstrap.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'runtime/worker_bootstrap.rs') 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() -- cgit v1.2.3