Skip to content

Commit

Permalink
add unref to setTimeout to prevent process from hanging after renderi…
Browse files Browse the repository at this point in the history
…ng finished
  • Loading branch information
pofider committed Jun 8, 2016
1 parent 4733782 commit e591692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dedicatedProcessStrategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ module.exports = function(options, requestOptions, id, cb) {
child.kill();

cb(timeoutErr);
}, requestOptions.timeout || options.timeout);
}, requestOptions.timeout || options.timeout).unref();
});
};

0 comments on commit e591692

Please sign in to comment.