Skip to content

Instantly share code, notes, and snippets.

@tjfontaine
Created December 17, 2013 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjfontaine/6e71c5b9f95c49bf27e0 to your computer and use it in GitHub Desktop.
Save tjfontaine/6e71c5b9f95c49bf27e0 to your computer and use it in GitHub Desktop.
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