Revert "[Timers] Batch setImmediate handlers"
This commit is contained in:
parent
b243236404
commit
95d2843362
|
@ -483,10 +483,8 @@ var MessageQueueMixin = {
|
||||||
|
|
||||||
_flushedQueueUnguarded: function() {
|
_flushedQueueUnguarded: function() {
|
||||||
BridgeProfiling.profile('JSTimersExecution.callImmediates()');
|
BridgeProfiling.profile('JSTimersExecution.callImmediates()');
|
||||||
ReactUpdates.batchedUpdates(() => {
|
// Call the functions registered via setImmediate
|
||||||
// Call the functions registered via setImmediate
|
JSTimersExecution.callImmediates();
|
||||||
JSTimersExecution.callImmediates();
|
|
||||||
});
|
|
||||||
BridgeProfiling.profileEnd();
|
BridgeProfiling.profileEnd();
|
||||||
|
|
||||||
var currentOutgoingItems = this._outgoingItems;
|
var currentOutgoingItems = this._outgoingItems;
|
||||||
|
|
Loading…
Reference in New Issue