DescriptionStopping the audio thread before destroying the AudioManager<Platform>.
The destruction of the AudioManager family happens in order of: AudioManager<Platform>, AudioManagerBase, AudioManager.
So before getting into the destruction of AudioManagerBase, we have make sure the audio thread has been stopped before AudioManager<Platform> is gone, otherwise it will end up into unexpected behavior, for example, crash because of pure virtual function.
BUG=117470
TEST=media_unittests, Address Sanitizer
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126635
Patch Set 1 #
Total comments: 11
Patch Set 2 : used the correct way to delete the fake streams & addressed Tommi's comment #
Total comments: 8
Patch Set 3 : addressed Tommi's comment & added back the static GetCurrentFakeStream function for content unittest #Patch Set 4 : fix Android compiling problem #
Total comments: 8
Patch Set 5 : #Patch Set 6 : rebased and fixed the speech recognition unittest #
Total comments: 3
Messages
Total messages: 20 (0 generated)
|