Chromium Code Reviews
DescriptionEnsure the Desktop App Launcher warmup window is not created while trying to quit.
When relaunching from Metro there is a lengthier time-window where
BrowserProcess::IsShuttingDown() is false, but
browser_shutdown::IsTryingToQuit() is true. If the app launcher delayed
warmup (and the non-delayed asynchronous profile load it triggers) is
unlucky enough to get scheduled here, then it can create a window after
Widget::CloseAllSecondaryWidgets() has been called on the shutdown path,
which otherwise would have mopped up the app launcher resources.
Checking browser_shutdown::IsTryingToQuit ensures the app launcher
window won't be created after Widget::CloseAllSecondaryWidgets() would
have been called during shutdown.
BUG=333350
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247906
Patch Set 1 #Patch Set 2 : Rebase, and fix #Patch Set 3 : Just the fix #Patch Set 4 : ugh. missing include - culled too much #Messages
Total messages: 10 (0 generated)
|