parallel icon indicating copy to clipboard operation
parallel copied to clipboard

Creation of singletons can cause worker hangs

Open danog opened this issue 9 months ago • 1 comments

Creating singletons which register watchers inside of workers causes hangs, as the EventLoop::run() block never exits even when a shutdown is triggered.

danog avatar Mar 17 '25 14:03 danog

Singletons which register watchers should be marking those watchers as unreferenced. This is exactly the sort of thing for which an unreferenced state exists.

trowski avatar Mar 19 '25 23:03 trowski