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

Issue 166593005: Delete D-Bus clients before shutting down the system bus (Closed)

Created:
6 years, 10 months ago by satorux1
Modified:
6 years, 10 months ago
Reviewers:
stevenjb, hashimoto
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Delete D-Bus clients before shutting down the system bus Previously, D-Bus clients were deleted after the system bus was shut down. This order was not desirable because D-Bus clients could access the system bus in their destructors, even though the system bus was already shut down. BUG=344270 TEST=Chrome shuts down cleanly as before

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -112 lines) Patch
M chromeos/dbus/dbus_thread_manager.cc View 1 4 chunks +215 lines, -112 lines 3 comments Download

Messages

Total messages: 14 (0 generated)
satorux1
There is no rush on this patch. We should hold off on this patch if ...
6 years, 10 months ago (2014-02-17 06:15:42 UTC) #1
stevenjb
lgtm w/ nits https://codereview.chromium.org/166593005/diff/1/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/166593005/diff/1/chromeos/dbus/dbus_thread_manager.cc#newcode59 chromeos/dbus/dbus_thread_manager.cc:59: struct DBusClientBundle { Since this has ...
6 years, 10 months ago (2014-02-18 17:37:03 UTC) #2
satorux1
https://codereview.chromium.org/166593005/diff/1/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/166593005/diff/1/chromeos/dbus/dbus_thread_manager.cc#newcode59 chromeos/dbus/dbus_thread_manager.cc:59: struct DBusClientBundle { On 2014/02/18 17:37:03, stevenjb wrote: > ...
6 years, 10 months ago (2014-02-19 04:16:30 UTC) #3
hashimoto
lgtm https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc#newcode418 chromeos/dbus/dbus_thread_manager.cc:418: scoped_refptr<dbus::Bus> system_bus_; suggestion: How about putting |dbus_thread_| and ...
6 years, 10 months ago (2014-02-19 04:36:57 UTC) #4
satorux1
https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc#newcode418 chromeos/dbus/dbus_thread_manager.cc:418: scoped_refptr<dbus::Bus> system_bus_; On 2014/02/19 04:36:57, hashimoto wrote: > suggestion: ...
6 years, 10 months ago (2014-02-19 05:11:34 UTC) #5
hashimoto
https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc#newcode418 chromeos/dbus/dbus_thread_manager.cc:418: scoped_refptr<dbus::Bus> system_bus_; On 2014/02/19 05:11:35, satorux at chromium.org wrote: ...
6 years, 10 months ago (2014-02-19 05:31:43 UTC) #6
satorux1
On 2014/02/19 05:31:43, hashimoto wrote: > https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc > File chromeos/dbus/dbus_thread_manager.cc (right): > > https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc#newcode418 > ...
6 years, 10 months ago (2014-02-19 05:41:12 UTC) #7
satorux1
On 2014/02/19 05:31:43, hashimoto wrote: > https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc > File chromeos/dbus/dbus_thread_manager.cc (right): > > https://codereview.chromium.org/166593005/diff/110001/chromeos/dbus/dbus_thread_manager.cc#newcode418 > ...
6 years, 10 months ago (2014-02-19 05:41:14 UTC) #8
hashimoto
On 2014/02/19 05:41:14, satorux at chromium.org wrote: > On 2014/02/19 05:31:43, hashimoto wrote: > > ...
6 years, 10 months ago (2014-02-19 05:56:56 UTC) #9
satorux1
The CQ bit was checked by satorux@chromium.org
6 years, 10 months ago (2014-02-19 08:20:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satorux@chromium.org/166593005/110001
6 years, 10 months ago (2014-02-19 08:20:44 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 08:48:48 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=266243
6 years, 10 months ago (2014-02-19 08:48:48 UTC) #13
satorux1
6 years, 10 months ago (2014-02-24 06:13:26 UTC) #14
On 2014/02/19 08:48:48, I haz the power (commit-bot) wrote:
> Retried try job too often on win_rel for step(s) unit_tests
>
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Submitted: https://code.google.com/p/chromium/issues/detail?id=344270#c4
Closing...

Powered by Google App Engine
This is Rietveld 408576698