joyent/node — pull request #2591 by AndreasMadsen (2012-01-22 18:50:03+00:00)
Title: Add IPC disconnect method when using fork 

@indutny

This add a `disconnect` method to the `child` object (in parent) and in the `process` object (in child), when using `.fork. It allow the child to self terminate since there is no IPC keeping it alive:

It allow the following issues to be fixed:

* issue #1740
* issue #1363
* issue #2088

_Please note that is related to #2426, I will update that one when this has landed, but it just made sense to split #2426 up in two pull requests._

_This also solves some future issues related to cluster 2.0 (see #2038)_