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

Issue 23967008: Remove self as delegate when cleaning up AppLaunchController. (Closed)

Created:
7 years, 3 months ago by Tim Song
Modified:
7 years, 3 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Remove self as delegate when cleaning up AppLaunchController. The lifetime of the login webui can exceed that of the AppLaunchController, so we need to do proper cleanup. BUG=286406 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221880

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move to destructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M chrome/browser/chromeos/login/app_launch_controller.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Tim Song
PTAL. I couldn't replicate the bug, but I suspect that bad cleanup is the reason ...
7 years, 3 months ago (2013-09-06 22:53:11 UTC) #1
xiyuan
Widget::Close is async in aura. Think your suspicion is correct that login webui outlives display ...
7 years, 3 months ago (2013-09-06 23:06:48 UTC) #2
Tim Song
https://codereview.chromium.org/23967008/diff/1/chrome/browser/chromeos/login/app_launch_controller.cc File chrome/browser/chromeos/login/app_launch_controller.cc (right): https://codereview.chromium.org/23967008/diff/1/chrome/browser/chromeos/login/app_launch_controller.cc#newcode126 chrome/browser/chromeos/login/app_launch_controller.cc:126: app_launch_splash_screen_actor_->SetDelegate(NULL); On 2013/09/06 23:06:48, xiyuan wrote: > Should we ...
7 years, 3 months ago (2013-09-06 23:39:43 UTC) #3
xiyuan
lgtm
7 years, 3 months ago (2013-09-07 00:24:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/23967008/6001
7 years, 3 months ago (2013-09-07 01:30:26 UTC) #5
commit-bot: I haz the power
7 years, 3 months ago (2013-09-07 04:08:33 UTC) #6
Message was sent while issue was closed.
Change committed as 221880

Powered by Google App Engine
This is Rietveld 408576698