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.
Assistant: Set audio owner delegate nullptr when Stop
When media Stop is called, AudioStreamHandler::OnStopped will delete both audio_stream_handler_ and device_owner_. However, device_owner_ is posted to a background thread to be deleted. It is possible that device_owner_ still using audio_stream_handler_ after audio_stream_handler_ has been deleted. Bug: b/113707507 Test: manual. Change-Id: I20a48a5193b78608e58c3a911af77af7ff8d647e Reviewed-on: https://chromium-review.googlesource.com/1200572 Reviewed-by: Xiaohui Chen <[email protected]> Commit-Queue: Tao Wu <[email protected]> Cr-Commit-Position: refs/heads/master@{#588928}
- Loading branch information
wutao
authored and
Commit Bot
committed
Sep 5, 2018
1 parent
20b2061
commit 4c51d36
Showing
4 changed files
with
16 additions
and
7 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