Replaced process.nextTick with setImmediate in _SynchronousQueue

This commit is contained in:
Zoltan Olah
2014-07-03 15:46:46 -07:00
committed by Nick Martin
parent e970d5381d
commit ef70b6bfd2

View File

@@ -123,7 +123,7 @@ _.extend(Meteor._SynchronousQueue.prototype, {
return;
self._runningOrRunScheduled = true;
process.nextTick(function () {
setImmediate(function () {
Fiber(function () {
self._run();
}).run();