Chromium Code Reviews
Descriptionbluetooth: Clean up WebBluetoothServiceImpl when adapter is removed
There was a use-after-free because the adapter in BluetoothDispatcherHost
was destroyed before notify sessions in WebBluetoothServiceImpl were
destroyed.
This CL calls AdapterPresentChange on the adapter observers to notify
that the adapter has been destroyed and that all state should be cleaned.
BUG=604318
Committed: https://crrev.com/e2d1eb7c37a9a08934b35e92dcc4b9658a59799c
Cr-Commit-Position: refs/heads/master@{#388378}
Patch Set 1 #Patch Set 2 : Clean up #
Total comments: 2
Patch Set 3 : Re-enable tests #
Dependent Patchsets: Messages
Total messages: 12 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||