Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Issue 2188593002: aw: Fix edge case with destroy before detach (Closed)

Created:
4 years, 4 months ago by boliu
Modified:
4 years, 4 months ago
Reviewers:
Tobias Sargeant
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

aw: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
boliu
ptal
4 years, 4 months ago (2016-07-26 20:54:37 UTC) #2
Tobias Sargeant
On 2016/07/26 20:54:37, boliu wrote: > ptal Looks ok (and lgtm if you want to ...
4 years, 4 months ago (2016-07-27 11:33:08 UTC) #3
boliu
On 2016/07/27 11:33:08, Tobias Sargeant wrote: > On 2016/07/26 20:54:37, boliu wrote: > > ptal ...
4 years, 4 months ago (2016-07-27 13:26:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2188593002/20001
4 years, 4 months ago (2016-07-27 13:27:23 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-27 14:03:01 UTC) #7
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 14:04:38 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/32ef413e5187bfdd43dff6a48531afd35f3e9234
Cr-Commit-Position: refs/heads/master@{#408115}

Powered by Google App Engine
This is Rietveld 408576698