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

Unified Diff: media/audio/win/audio_manager_win.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/win/audio_manager_win.cc
diff --git a/media/audio/win/audio_manager_win.cc b/media/audio/win/audio_manager_win.cc
index 2827d11360e9b362a34f2caf69e057d705000cfd..66f4a550804498187ac49d8daf47336331c24267 100644
--- a/media/audio/win/audio_manager_win.cc
+++ b/media/audio/win/audio_manager_win.cc
@@ -108,6 +108,7 @@ AudioManagerWin::AudioManagerWin() {
}
AudioManagerWin::~AudioManagerWin() {
+ Shutdown();
}
bool AudioManagerWin::HasAudioOutputDevices() {

Powered by Google App Engine
This is Rietveld 408576698