forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unsafe async call in CatalystInstance callback (facebook#40861)
Summary: Pull Request resolved: facebook#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
- Loading branch information
1 parent
0e590c0
commit 95d09d3
Showing
3 changed files
with
12 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters