Skip to content

Commit

Permalink
Merge pull request #1752 from gsilk/master
Browse files Browse the repository at this point in the history
Stop runner sending SIGINT to itself from within SIGINT handler
  • Loading branch information
Joshua Appelman committed Jul 4, 2015
2 parents fc3fee6 + 8b38235 commit 3815f59
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/mocha
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,4 @@ proc.on('exit', function (code, signal) {
process.on('SIGINT', function () {
proc.kill('SIGINT'); // calls runner.abort()
proc.kill('SIGTERM'); // if that didn't work, we're probably in an infinite loop, so make it die.
process.kill(process.pid, 'SIGINT');
});

0 comments on commit 3815f59

Please sign in to comment.