summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soundmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp
index a8dd144cf..be36c0f6a 100644
--- a/src/soundmanager.cpp
+++ b/src/soundmanager.cpp
@@ -71,7 +71,6 @@ SoundManager::SoundManager():
SoundManager::~SoundManager()
{
- CHECKLISTENERS
}
void SoundManager::shutdown()
@@ -80,6 +79,8 @@ void SoundManager::shutdown()
// Unlink the callback function.
Mix_HookMusicFinished(nullptr);
+
+ CHECKLISTENERS
}
void SoundManager::optionChanged(const std::string &value)