Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ReactNative] Maintain order of bridge calls
Summary: When bridge calls are made, they should be dispatched to their destination GCD queue in the same order they were made. (It looks like this invariant broke in 336e18d, which caused call order to depend on the iteration of `NSMapTable` keys whenever there are calls to multiple modules that share a queue) Fixes facebook#1941 (in which RCTUIManager createView addUIBlock blocks were sometimes running after other blocks that depended on them) I'm a react-native/iOS/objc newbie, so please excuse any ignorance this commit may well contain :) Closes facebook#2488 Github Author: Ted Suzman <[email protected]>
- Loading branch information