mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
29b99720b2
Summary: We read from / write to `CatalystInstanceImpl.mTurboModuleRegistry` from multiple threads. To ensure that we directly read/write from memory, and not a stale cache, we should make this variable `volatile`. Changelog: [Android][Fixed] Make TurboModuleRegistry in CatalystInstanceImpl.java volatile Reviewed By: fkgozali Differential Revision: D18542954 fbshipit-source-id: 0a47f05e0653b4f7f58503c678bdf31c68eab9bf
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.