Revert "[Timers] Batch setImmediate handlers"

This commit is contained in:
Andy Street 2015-06-03 10:04:25 -01:00
parent b243236404
commit 95d2843362
1 changed files with 2 additions and 4 deletions

View File

@ -483,10 +483,8 @@ var MessageQueueMixin = {
_flushedQueueUnguarded: function() {
BridgeProfiling.profile('JSTimersExecution.callImmediates()');
ReactUpdates.batchedUpdates(() => {
// Call the functions registered via setImmediate
JSTimersExecution.callImmediates();
});
// Call the functions registered via setImmediate
JSTimersExecution.callImmediates();
BridgeProfiling.profileEnd();
var currentOutgoingItems = this._outgoingItems;