We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f7584 commit 9a3cea2Copy full SHA for 9a3cea2
index.js
@@ -57,6 +57,7 @@ function handle(signal, fn) {
57
const fns = handlers[signal] = [fn]
58
59
process.on(signal, async function(error) {
60
+ prexit.exiting = true
61
error === signal && (error = null)
62
if ((signal === 'uncaughtException' || signal === 'unhandledRejection') && prexit.logExceptions)
63
console.error(error) // eslint-disable-line
0 commit comments