Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
dispatch with setImmediate when not using dispatchCargo
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed May 11, 2017
1 parent 77875cc commit ecc55c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/dispatcher/appDispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AppDispatcher {
dispatchCargo.push(payload)
} else {
this.dispatching = true
this.dispatchInternal(payload, doneDispatching)
setImmediate(this.dispatchInternal.bind(this, payload, doneDispatching))
}
}

Expand Down

0 comments on commit ecc55c3

Please sign in to comment.