Descriptionbluetooth: Shutdown BluetoothAdapter before DBus on ChromeOS.
The BluetoothAdapter is a lazy instance that may live due to references
until the shutdown of the browser. On ChromeOS the adapter and related
classes must release references to the DBusThreadManager before it is
shutdown. This patch adds an explicit call for that shutdown.
BUG=447387
Committed: https://crrev.com/5d49416fd60af9a9b7ee7e6d57835aa28ce9c909
Cr-Commit-Position: refs/heads/master@{#311986}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Limit shutdown to defined(CHROMEOS); add checks that methods aren't run after shutdown #
Total comments: 8
Patch Set 3 : Remove from BluetoothAdapter and use static_cast; comments. #Patch Set 4 : unit test #
Total comments: 2
Patch Set 5 : MockBluetoothAdapter::OnDBusThreadManagerShutdown (and a rebase) #
Total comments: 4
Patch Set 6 : Rename back to Shutdown #Patch Set 7 : --set-upstream-to=origin/master #Messages
Total messages: 46 (15 generated)
|