child_process: hook up handle wrap to owning object
This commit is contained in:
parent
4ec77e2e28
commit
a3908f47f1
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user