Skip to content

Commit

Permalink
Update NativeProxy.cpp (#3469)
Browse files Browse the repository at this point in the history
Fixes #3351.
  • Loading branch information
tomekzaw authored and piaskowyk committed Aug 17, 2022
1 parent 98c628a commit d42b63c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 782 deletions.
6 changes: 2 additions & 4 deletions android/src/main/cpp/NativeProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ NativeProxy::NativeProxy(
layoutAnimations(std::move(_layoutAnimations)) {}

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

jni::local_ref<NativeProxy::jhybriddata> NativeProxy::initHybrid(
Expand Down
Loading

0 comments on commit d42b63c

Please sign in to comment.