joyent/node — pull request #2908 by AndreasMadsen (2012-03-11 13:31:10+00:00)
Title: cluster 2.0: kill workers when master dies

This patch will kill the worker once it has lost its connection with the parent. However if the worker are doing a suicide, other measures will be used.

_Related issue: #2060_

This feature is highly requested but hasn't been made before now, because it was first with the resent `cluster` cleanup and `child_process.fork().disconnect` support it could be made in a simpel way.
_Actually this remove more code than it add ;p_

_Note that this patch can land before or after #2740 has landed._

/cc @isaacs, @igorzi

_This is about merging in cluster 2.0 (see #2038)_