mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
72d29ee7d7
Summary: The `BlobCollector` native module stored a `jni::global_ref` as a member, and its destructor automatically destroys it. However, as noted in JSI documentation, there is no guarantee that the destructor is run on a JVM-registered thread. The destructor knew this and used a `jni::ThreadScope` to do some other JNI behavior, but the global_ref needs to be destroyed during that ThreadScope as well. Changelog: [Internal] Reviewed By: neildhar Differential Revision: D25372698 fbshipit-source-id: f4eba0b2da154c6eac54d7faeb9ea5bb9260bec9
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.