Skip to content

Commit

Permalink
TSAGE: Explicitly call the mixer stopAll() when shutting down
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 29, 2011
1 parent c187055 commit 9f00f18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/tsage/sound.cpp
Expand Up @@ -54,6 +54,7 @@ SoundManager::SoundManager() {
SoundManager::~SoundManager() {
if (__sndmgrReady) {
Common::StackLock slock(_serverDisabledMutex);
_vm->_mixer->stopAll();

for (Common::List<Sound *>::iterator i = _soundList.begin(); i != _soundList.end(); ) {
Sound *s = *i;
Expand Down

0 comments on commit 9f00f18

Please sign in to comment.