From 95d28433622898022123dee1039dccafb0907934 Mon Sep 17 00:00:00 2001 From: Andy Street Date: Wed, 3 Jun 2015 10:04:25 -0100 Subject: [PATCH] Revert "[Timers] Batch setImmediate handlers" --- Libraries/Utilities/MessageQueue.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Libraries/Utilities/MessageQueue.js b/Libraries/Utilities/MessageQueue.js index 1972a0da0..a09bd4f4a 100644 --- a/Libraries/Utilities/MessageQueue.js +++ b/Libraries/Utilities/MessageQueue.js @@ -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;