Allow script to exit early as soon as runner process exits. (#1580)

This commit is contained in:
Tingluo Huang
2022-01-04 19:02:45 -05:00
committed by GitHub
parent 9bfbc48f45
commit 46da23edb1

View File

@@ -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();
}
}