cluster: fix premature 'disconnect' event
Don't emit the 'disconnect' event until all workers have gone away. Before this commit, the event was emitted when all open handles were closed, which usually - but not always - amounts to the same thing. Fixes #6346.
parent
527cae22
Please register or sign in to comment