Chromium Code Reviews
Descriptionaw: Fix edge case with destroy before detach
Currently if destroy is called before detach, we destroy native side,
but don't actually run through the detach code in java side. Then when
the real detach is called later, it gets skipped because AwContents is
already destroyed, causing java-side leaks.
Just go through detach path in destroy. I don't see how this can break
anything.
BUG=612122
Committed: https://crrev.com/32ef413e5187bfdd43dff6a48531afd35f3e9234
Cr-Commit-Position: refs/heads/master@{#408115}
Patch Set 1 #Patch Set 2 : comment #Messages
Total messages: 9 (3 generated)
|