on finishAudioDriver, be sure to set shoutOutput = NULL

git-svn-id: https://svn.musicpd.org/mpd/trunk@2296 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-10-22 17:58:12 +00:00
parent d021f6b042
commit 5b7a1419b9
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ void finishAudioConfig() {
void finishAudioDriver() { void finishAudioDriver() {
finishAudioOutput(aoOutput); finishAudioOutput(aoOutput);
if(shoutOutput) finishAudioOutput(shoutOutput); if(shoutOutput) finishAudioOutput(shoutOutput);
shoutOutput = NULL;
aoOutput = NULL; aoOutput = NULL;
} }