-
-
Save joshthecoder/0bcc06581e4c57039654 to your computer and use it in GitHub Desktop.
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
{Window} ---property---> {childView} | |
^ ^ | |
| | | |
|_ _ Weak Persistent handles _ _| | |
This group is not reachable from the GC root in V8. | |
So both object's weak callbacks will be called. Since the | |
window is not open, the childView will get collected since it has | |
no retainer in Java. Window will be okay since the Java side retains it. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment