QTfrontend/util/SDLInteraction.cpp
changeset 6524 416fdfb666da
parent 6170 2b1748161278
child 6585 6225b838a630
--- a/QTfrontend/util/SDLInteraction.cpp	Sun Dec 11 14:52:02 2011 +0100
+++ b/QTfrontend/util/SDLInteraction.cpp	Sun Dec 11 19:57:04 2011 +0100
@@ -63,8 +63,10 @@
     stopMusic();
     if (m_audioInitialized)
     {
-        if (m_music != NULL)
+        if (m_music != NULL) {
+            Mix_HaltMusic();
             Mix_FreeMusic(m_music);
+        }
         Mix_CloseAudio();
     }
     SDL_Quit();