Skip to content

Commit a3908f4

Browse files
committed
child_process: hook up handle wrap to owning object
1 parent 4ec77e2 commit a3908f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/child_process.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,8 @@ function ChildProcess() {
628628
this.killed = false;
629629

630630
this._handle = new Process();
631+
this._handle.owner = this;
632+
631633
this._handle.onexit = function(exitCode, signalCode) {
632634
//
633635
// follow 0.4.x behaviour:

0 commit comments

Comments
 (0)