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

Issue 1145473005: Don't use a deleted task runner on Mandoline shutdown. (Closed)

Created:
5 years, 7 months ago by jam
Modified:
5 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't use a deleted task runner on Mandoline shutdown. If one of the core services apps called terminate, the thread won't be valid. This is split off https://codereview.chromium.org/1139673003 BUG=484234 Committed: https://crrev.com/dd2b261f352510b14ca444a7d834da30c6ae6444 Cr-Commit-Position: refs/heads/master@{#330410}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comments #

Total comments: 2

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -2 lines) Patch
M mandoline/services/core_services/core_services_application_delegate.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M mandoline/services/core_services/core_services_application_delegate.cc View 1 2 7 chunks +28 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
jam
5 years, 7 months ago (2015-05-18 16:16:55 UTC) #2
sky
https://codereview.chromium.org/1145473005/diff/1/mandoline/services/core_services/core_services_application_delegate.cc File mandoline/services/core_services/core_services_application_delegate.cc (right): https://codereview.chromium.org/1145473005/diff/1/mandoline/services/core_services/core_services_application_delegate.cc#newcode75 mandoline/services/core_services/core_services_application_delegate.cc:75: if (!IsRunning()) Do we get here because CoreServicesApplicationDelegate is ...
5 years, 7 months ago (2015-05-18 16:53:14 UTC) #3
jam
https://codereview.chromium.org/1145473005/diff/1/mandoline/services/core_services/core_services_application_delegate.cc File mandoline/services/core_services/core_services_application_delegate.cc (right): https://codereview.chromium.org/1145473005/diff/1/mandoline/services/core_services/core_services_application_delegate.cc#newcode75 mandoline/services/core_services/core_services_application_delegate.cc:75: if (!IsRunning()) On 2015/05/18 16:53:14, sky wrote: > Do ...
5 years, 7 months ago (2015-05-18 17:33:48 UTC) #4
sky
LGTM https://codereview.chromium.org/1145473005/diff/20001/mandoline/services/core_services/core_services_application_delegate.cc File mandoline/services/core_services/core_services_application_delegate.cc (right): https://codereview.chromium.org/1145473005/diff/20001/mandoline/services/core_services/core_services_application_delegate.cc#newcode119 mandoline/services/core_services/core_services_application_delegate.cc:119: for (size_t i = 0; i < application_threads_.size(); ...
5 years, 7 months ago (2015-05-18 19:15:58 UTC) #5
jam
https://codereview.chromium.org/1145473005/diff/20001/mandoline/services/core_services/core_services_application_delegate.cc File mandoline/services/core_services/core_services_application_delegate.cc (right): https://codereview.chromium.org/1145473005/diff/20001/mandoline/services/core_services/core_services_application_delegate.cc#newcode119 mandoline/services/core_services/core_services_application_delegate.cc:119: for (size_t i = 0; i < application_threads_.size(); ++i) ...
5 years, 7 months ago (2015-05-18 20:15:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145473005/40001
5 years, 7 months ago (2015-05-18 20:17:28 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-18 20:47:42 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 22:42:47 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dd2b261f352510b14ca444a7d834da30c6ae6444
Cr-Commit-Position: refs/heads/master@{#330410}

Powered by Google App Engine
This is Rietveld 408576698