Skip to content

Commit

Permalink
Merge pull request #2169 from superhuman/send-sigkill-while-forcekilling
Browse files Browse the repository at this point in the history
fix(launcher): send sigkill on timeout when force killing
  • Loading branch information
dignifiedquire authored Jun 23, 2016
2 parents ca95553 + c615c1f commit ca1284e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/launchers/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ var ProcessLauncher = function (spawn, tempDir, timer) {
}

this._onKillTimeout = function () {
if (self.state !== self.STATE_BEING_KILLED) {
if (self.state !== self.STATE_BEING_KILLED && self.state !== self.STATE_BEING_FORCE_KILLED) {
return
}

Expand Down

0 comments on commit ca1284e

Please sign in to comment.