diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-04-14 03:13:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 10:13:42 +0800 |
commit | c4d28e3b2a2d82c7e5e3b398513755b507a75e76 (patch) | |
tree | 955bed9c2cfb691ea84abf8476cc2dd0a507f907 /tools/exit.js | |
parent | 77261e1ee037f3eea2d5ec80abb1387d4ba5c67e (diff) | |
download | tracifyjs-c4d28e3b2a2d82c7e5e3b398513755b507a75e76.tar.gz tracifyjs-c4d28e3b2a2d82c7e5e3b398513755b507a75e76.zip |
expand testing on Node.js versions (#3779)
Diffstat (limited to 'tools/exit.js')
-rw-r--r-- | tools/exit.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/exit.js b/tools/exit.js index 17048d8e..4dd7141b 100644 --- a/tools/exit.js +++ b/tools/exit.js @@ -5,7 +5,7 @@ process.exit = function() { process.once("uncaughtException", function() { (function callback() { if (process.stdout.bufferSize || process.stderr.bufferSize) { - setImmediate(callback); + setTimeout(callback, 1); } else { exit.apply(process, args); } |