Skip to content

Commit

Permalink
Allow script to exit early as soon as runner process exits. (actions#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TingluoHuang authored Jan 5, 2022
1 parent 9bfbc48 commit 46da23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Misc/layoutbin/RunnerService.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var gracefulShutdown = function (code) {
listener.kill('SIGINT');

console.log('Sending SIGKILL to runner listener');
setTimeout(() => listener.kill('SIGKILL'), 30000);
setTimeout(() => listener.kill('SIGKILL'), 30000).unref();
}
}

Expand Down

0 comments on commit 46da23e

Please sign in to comment.