joyent/node — pull request #3806 by bnoordhuis (2012-07-31 23:34:43+00:00)
Title: Make forked child process auto-exit, add 'removeListener' event

This PR contains two approaches to fixing #3799. One monkey-patches the `process` object, the other adds a new `'removeListener'` event and uses that to track the channel's reference count.

Review please!

/cc @AndreasMadsen - you'll dig it