-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix retain cycle in ComponentNameResolverManager (#43611)
Summary: Pull Request resolved: #43611 Storing a global_ref to `jThis` in a JNI hybrid object leads to a reference cycle which cannot be cleaned up by Java GC. The Java object will keep the C++ object alive and vice versa. In this class, we didn't seem to need this reference anyway. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D55240490 fbshipit-source-id: 9ba6f5b4b958cb273ad1923332b7b29a75630aea
- Loading branch information
1 parent
12d22e5
commit ee3d5f5
Showing
2 changed files
with
16 additions
and
33 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