fix: De-allocate frame
HybridClass with JNI class loader if using Hermes (#455)
* De-allocate `frame` HybridClass with JNI class loader if using Hermes
See 1b3a0c2612
* Don't wrap in `#if FOR_HERMES`, other `jsi::Runtime`s might also run GC on another Thread.
* Use `jni::local_ref` for `FrameHostObject`
* Update JImageProxyHostObject.cpp
* Only run with JNI `ClassLoader` if ctor Thread ID != dtor Thread ID
* Upgrade reanimated to 2.3.0-beta.1 to fix JNI crash
* Remove `this_thread::get_id()`
* Update Podfile.lock
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
"react": "^17.0.2",
|
||||
"react-native": "^0.65.1",
|
||||
"react-native-builder-bob": "^0.18.1",
|
||||
"react-native-reanimated": "^2.3.0-alpha.3",
|
||||
"react-native-reanimated": "^2.3.0-beta.1",
|
||||
"release-it": "^14.11.5",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
|
Reference in New Issue
Block a user