child_process: hook up handle wrap to owning object

This commit is contained in:
Ben Noordhuis 2012-04-27 16:54:28 +02:00
parent 4ec77e2e28
commit a3908f47f1

View File

@ -628,6 +628,8 @@ function ChildProcess() {
this.killed = false;
this._handle = new Process();
this._handle.owner = this;
this._handle.onexit = function(exitCode, signalCode) {
//
// follow 0.4.x behaviour: