Files
react-native/ReactAndroid/src/main/java/com/facebook/react/bridge
Emily Janzer b5ea49f132 Move sDidInit to the end of ReactBridge.staticInit()
Summary: Oleksandr made the point that making `sDidInit` volatile isn't quite enough because the flag is set at the beginning of the function; it's possible that it will return true while it's still in the process of initializing the bridge. Moving where we set the flag to the end of the function should address the issue.

Reviewed By: JoshuaGross

Differential Revision: D17770128

fbshipit-source-id: 695d3edc582d9dce1884d8698d400dd147ca5cae
2019-10-07 16:23:36 -07:00
..
2018-10-31 01:37:26 -07:00
2018-10-31 01:37:26 -07:00