Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(780)

Unified Diff: media/audio/mac/audio_manager_mac.cc

Issue 9692038: stopping the audio thread before destroying the AudioManager<Platform> (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased and fixed the speech recognition unittest Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/audio/mac/audio_manager_mac.cc
diff --git a/media/audio/mac/audio_manager_mac.cc b/media/audio/mac/audio_manager_mac.cc
index fdaf5a1e604c41a53c0b4155d3cafc24d8fd7999..31b4d6dc7c04263c63b06d058566825e0a2eccc1 100644
--- a/media/audio/mac/audio_manager_mac.cc
+++ b/media/audio/mac/audio_manager_mac.cc
@@ -221,6 +221,7 @@ AudioManagerMac::AudioManagerMac() {
}
AudioManagerMac::~AudioManagerMac() {
+ Shutdown();
}
bool AudioManagerMac::HasAudioOutputDevices() {

Powered by Google App Engine
This is Rietveld 408576698