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

Issue 2686353002: mash: Fix shutdown crashes by tearing down ServiceContext before message loop (Closed)

Created:
3 years, 10 months ago by James Cook
Modified:
3 years, 10 months ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Fix shutdown crashes by tearing down ServiceContext before message loop The ui service crashes during shutdown when there isn't a valid message loop. Tear down the service_manager::ServiceContext before the MessageLoop. Also change some unique_ptr<> member variables to stack variables to enforce the correct ordering. BUG=691061 TEST=chrome --mash, kill ash, ui service shuts down cleanly Review-Url: https://codereview.chromium.org/2686353002 Cr-Commit-Position: refs/heads/master@{#449741} Committed: https://chromium.googlesource.com/chromium/src/+/24ff390f92e0b5ac6ad645cd0fd789cb1ab51a94

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -20 lines) Patch
M chrome/app/mash/mash_runner.h View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/app/mash/mash_runner.cc View 5 chunks +12 lines, -13 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
James Cook
erg, please take a look.
3 years, 10 months ago (2017-02-10 20:49:28 UTC) #3
Elliot Glaysher
lgtm
3 years, 10 months ago (2017-02-10 20:51:40 UTC) #5
James Cook
rockot, can I get OWNERS? This is similar to a fix erg@ made recently that ...
3 years, 10 months ago (2017-02-10 20:52:29 UTC) #7
Ken Rockot(use gerrit already)
lgtm
3 years, 10 months ago (2017-02-10 20:59:03 UTC) #8
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/2686353002/1
3 years, 10 months ago (2017-02-10 21:16:59 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 21:34:54 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/24ff390f92e0b5ac6ad645cd0fd7...

Powered by Google App Engine
This is Rietveld 408576698