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

Issue 2279853002: Make BluetoothAdapterBlueZ::Init early out if shutdown (Closed)

Created:
4 years, 3 months ago by sky
Modified:
4 years, 3 months ago
Reviewers:
Rahul Chaturvedi
CC:
chromium-reviews, scheib+watch_chromium.org, ortuno+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make BluetoothAdapterBlueZ::Init early out if shutdown If a test creates a BluetoothAdapterBlueZ, inits, then shuts it down it's entirely possible to get to BluetoothAdapterBlueZ::Init() after bluez::BluezDBusManager has been destroyed. This patch makes BluetoothAdapterBlueZ::Init early out in such a situation. BUG=641026 TEST=none R=rkc@chromium.org Committed: https://crrev.com/ff1b30c1127c08a265e95f2b6cc60d65e8bd7e49 Cr-Commit-Position: refs/heads/master@{#414584}

Patch Set 1 #

Total comments: 3

Patch Set 2 : move conditional #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M device/bluetooth/bluez/bluetooth_adapter_bluez.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
sky
https://codereview.chromium.org/2279853002/diff/1/device/bluetooth/bluez/bluetooth_adapter_bluez.cc File device/bluetooth/bluez/bluetooth_adapter_bluez.cc (right): https://codereview.chromium.org/2279853002/diff/1/device/bluetooth/bluez/bluetooth_adapter_bluez.cc#newcode212 device/bluetooth/bluez/bluetooth_adapter_bluez.cc:212: if (dbus_is_shutdown_) I don't know if we need to ...
4 years, 3 months ago (2016-08-25 17:15:09 UTC) #1
Rahul Chaturvedi
https://codereview.chromium.org/2279853002/diff/1/device/bluetooth/bluez/bluetooth_adapter_bluez.cc File device/bluetooth/bluez/bluetooth_adapter_bluez.cc (right): https://codereview.chromium.org/2279853002/diff/1/device/bluetooth/bluez/bluetooth_adapter_bluez.cc#newcode212 device/bluetooth/bluez/bluetooth_adapter_bluez.cc:212: if (dbus_is_shutdown_) On 2016/08/25 17:15:09, sky wrote: > I ...
4 years, 3 months ago (2016-08-25 20:21:59 UTC) #7
sky
https://codereview.chromium.org/2279853002/diff/1/device/bluetooth/bluez/bluetooth_adapter_bluez.cc File device/bluetooth/bluez/bluetooth_adapter_bluez.cc (right): https://codereview.chromium.org/2279853002/diff/1/device/bluetooth/bluez/bluetooth_adapter_bluez.cc#newcode212 device/bluetooth/bluez/bluetooth_adapter_bluez.cc:212: if (dbus_is_shutdown_) On 2016/08/25 20:21:59, Rahul Chaturvedi wrote: > ...
4 years, 3 months ago (2016-08-25 20:27:27 UTC) #8
Rahul Chaturvedi
lgtm
4 years, 3 months ago (2016-08-25 23:36:33 UTC) #15
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/2279853002/20001
4 years, 3 months ago (2016-08-25 23:38:00 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-25 23:43:37 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 23:45:02 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ff1b30c1127c08a265e95f2b6cc60d65e8bd7e49
Cr-Commit-Position: refs/heads/master@{#414584}

Powered by Google App Engine
This is Rietveld 408576698