Fixes#1581.
This was exposed by running test__os and test__queue in the same process in that order. test__os watches children,
and test__queue has a test that expects a LoopExit. It wasn't raised because the child watcher (really the signal watcher)
was referenced, keeping the loop running.
Using one just once leaves a referenced signal watcher around, which keeps the loop from exiting. libev doesn't have this issue.
The text was updated successfully, but these errors were encountered: