child_process: in a new ChildProcess set killed to false

This behavior is consistent with what v0.4 does.
This commit is contained in:
Maciej Małecki 2011-11-02 17:52:47 +01:00 committed by Ben Noordhuis
parent 60818b957c
commit 6bd0bcd5af

View File

@ -369,6 +369,7 @@ function ChildProcess() {
this.signalCode = null;
this.exitCode = null;
this.killed = false;
this._internal = new Process();
this._internal.onexit = function(exitCode, signalCode) {