Skip to content

Commit d42b63c

Browse files
tomekzawpiaskowyk
authored andcommitted
Update NativeProxy.cpp (#3469)
Fixes #3351.
1 parent 98c628a commit d42b63c

File tree

2 files changed

+2
-782
lines changed

2 files changed

+2
-782
lines changed

android/src/main/cpp/NativeProxy.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ NativeProxy::NativeProxy(
4040
layoutAnimations(std::move(_layoutAnimations)) {}
4141

4242
NativeProxy::~NativeProxy() {
43-
runtime_->global().setProperty(
44-
*runtime_,
45-
jsi::PropNameID::forAscii(*runtime_, "__reanimatedModuleProxy"),
46-
jsi::Value::undefined());
43+
// removed temporary, new event listener mechanism need fix on the RN side
44+
// reactScheduler_->removeEventListener(eventListener_);
4745
}
4846

4947
jni::local_ref<NativeProxy::jhybriddata> NativeProxy::initHybrid(

0 commit comments

Comments
 (0)