Skip to content

Commit

Permalink
temptative fix for issue #812
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Jan 6, 2018
1 parent c734e79 commit 3f788a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/process/child-pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ module.exports = function ChildPool() {
var children = _.values(this.retained).concat(this.free);
var _this = this;
children.forEach(function(child){
_this.kill(child, 0);
// TODO: We may want to use SIGKILL if the process does not die after some time.
_this.kill(child, 'SIGTERM');
});

this.retained = {};
Expand Down

0 comments on commit 3f788a5

Please sign in to comment.