mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/40861 Reference `jobj_` from the async callback is unsafe, as the Java counterpart may have been deallocated by the time it's executed. Instead move the async call to Java. Note that this method doesn't actually do anything in Fabric, it's used by the old renderer only. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D50224974 fbshipit-source-id: c848b177753643febac1d6646d62a27ebace9238