DescriptionCrash fix: Remove MessageLoop from AudioPowerMonitor and instead use MessageLoopProxy in AudioOutputController.
Root cause: AudioPowerMonitor held a reference to the audio thread's MessageLoop and erroneously assumed it would be valid until after the audio stream is closed. However, at browser shutdown, it's possible for audio streams to be closed by the correct thread, but *after* the MessageLoop associated with the thread is destroyed.
BUG=268629
TEST=media_unittests and manual confirmation by running a browser with the --enable-audible-notifications command-line flag.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217142
Patch Set 1 #
Total comments: 11
Patch Set 2 : Addressed Dale's review comments. #
Total comments: 6
Patch Set 3 : boolean style #
Messages
Total messages: 7 (0 generated)
|