DescriptionChrome OS: Shutdown without blocking when SIGTERM is received.
Made ShuttingDownWithoutCloseBrowsers a explicit flag.
Use END_SESSION shutdown type if chrome recieves SIGTERM AND there are tabs that may
block shutdown.
Make sure APP_TERMINATING is sent only once.
This fixes SIGABORT crash in two shutdown scenarios:
1) powering off when chrome has beforeunload handler, or
downloads in progress.
2) singout from screen locker when chrome has beforeunload handler or downloads in progress.
This is simple version of fix to merge to release branch. I'm working on
another CL that will (hopefully) cleanup a bit more.
BUG=chromium-os:20460
TEST=see bug for repro step
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106988
Patch Set 1 #Patch Set 2 : " #Patch Set 3 : sync #Patch Set 4 : update comment #Patch Set 5 : sync #
Total comments: 2
Patch Set 6 : don't ask SM to send signal if its not fast shutdown #Patch Set 7 : g_session_manager_requested_shutdown #Patch Set 8 : sync #
Messages
Total messages: 18 (0 generated)
|