-
-
Save tjfontaine/6e71c5b9f95c49bf27e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/node.js b/src/node.js | |
index 3972138..fbc2e3e 100644 | |
--- a/src/node.js | |
+++ b/src/node.js | |
@@ -616,6 +616,9 @@ | |
if (process._exiting) | |
return; | |
+ setImmediate(callback); | |
+ | |
+ /* | |
var obj = { | |
callback: callback, | |
_asyncQueue: undefined | |
@@ -626,6 +629,7 @@ | |
nextTickQueue.push(obj); | |
tickInfo[kLength]++; | |
+ */ | |
} | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment