Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cluster: default value of exitedAfterDisconnect changed to false
The defaul value of worker.exitedAfterDisconnect is undefined. If the worker dies on its own the value is changed to false and doesn't remains undefined. While the documentation just mentions 'Set by calling .kill() or .disconnect(). Until then, it is undefined.'. Making the default value as false in worker.js Fixes: nodejs#28837 Refs: nodejs#3743
- Loading branch information