aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-26 20:39:02 -0400
committerPaul Gilbert2017-09-26 20:39:02 -0400
commit82d69c6075eb66fc342ec05fff957697a8c9bf29 (patch)
treef0a63f4ad2838ad9518644cd916f0ef0f9879a7a /engines/titanic/sound
parentc92e41052f088c4c39e1c3221b3654b42ce72a20 (diff)
downloadscummvm-rg350-82d69c6075eb66fc342ec05fff957697a8c9bf29.tar.gz
scummvm-rg350-82d69c6075eb66fc342ec05fff957697a8c9bf29.tar.bz2
scummvm-rg350-82d69c6075eb66fc342ec05fff957697a8c9bf29.zip
TITANIC: Fix exit crash freeing wave files whilst still playing
Diffstat (limited to 'engines/titanic/sound')
-rw-r--r--engines/titanic/sound/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/titanic/sound/sound.cpp b/engines/titanic/sound/sound.cpp
index 17681d86ce..613e62415a 100644
--- a/engines/titanic/sound/sound.cpp
+++ b/engines/titanic/sound/sound.cpp
@@ -38,6 +38,7 @@ CSound::CSound(CGameManager *owner, Audio::Mixer *mixer) :
}
CSound::~CSound() {
+ _soundManager.qsWaveMixCloseSession();
_sounds.destroyContents();
}