You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
worker_threads: worker handles not cleaned up in async_hooks API #26535
I don’t think it’s quite a bug, because it’s only happening because the destroy() hook for Workers currently relies on garbage collection (like for many other objects); the Worker object itself owns no resources anymore when it is collected.
However, this is still fixable in the sense that we can destroy the objects earlier, if we want: #26542
Not sure if it's a bug or not, but I've noticed that
destroyis never executed for the asyncIds pertaining to workers.Output: