forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bluetooth: 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 Review URL: https://codereview.chromium.org/1898303003 Cr-Commit-Position: refs/heads/master@{#388378}
- Loading branch information
ortuno
authored and
Commit bot
committed
Apr 20, 2016
1 parent
7169294
commit e2d1eb7
Showing
5 changed files
with
23 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters