Skip to content

Instantly share code, notes, and snippets.

@isaacs isaacs/gist:4773134
Created Feb 12, 2013

Embed
What would you like to do?
diff --git a/src/node.js b/src/node.js
index 62f5fa8..bd909e7 100644
--- a/src/node.js
+++ b/src/node.js
@@ -157,6 +157,8 @@
});
}
}
+
+ process._needTickCallback();
}
startup.globalVariables = function() {
@@ -457,9 +459,6 @@
var tock = { callback: callback };
if (process.domain) tock.domain = process.domain;
nextTickQueue.push(tock);
- if (nextTickQueue.length) {
- process._needTickCallback();
- }
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.