Skip to content

Commit

Permalink
fix(crash): android crash when reload runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
kyunkakata committed Feb 7, 2023
1 parent 64d5909 commit 5c6f57c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions android/src/main/cpp/NativeProxy.cpp
Expand Up @@ -37,12 +37,7 @@ NativeProxy::NativeProxy(
scheduler_(scheduler),
layoutAnimations(std::move(_layoutAnimations)) {}

NativeProxy::~NativeProxy() {
runtime_->global().setProperty(
*runtime_,
jsi::PropNameID::forAscii(*runtime_, "__reanimatedModuleProxy"),
jsi::Value::undefined());
}
NativeProxy::~NativeProxy() {}

jni::local_ref<NativeProxy::jhybriddata> NativeProxy::initHybrid(
jni::alias_ref<jhybridobject> jThis,
Expand Down

0 comments on commit 5c6f57c

Please sign in to comment.