diff options
author | Willem Jan Palenstijn | 2007-02-26 18:52:28 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2007-02-26 18:52:28 +0000 |
commit | b1a12658b05f77edf2c4b03c82b3f04e1255b35f (patch) | |
tree | 7ba6bdcd76b52c231c7deffd1b5414267796b56a /engines/gob/gob.cpp | |
parent | 1af4932242e637123099512e1aed80181a423687 (diff) | |
download | scummvm-rg350-b1a12658b05f77edf2c4b03c82b3f04e1255b35f.tar.gz scummvm-rg350-b1a12658b05f77edf2c4b03c82b3f04e1255b35f.tar.bz2 scummvm-rg350-b1a12658b05f77edf2c4b03c82b3f04e1255b35f.zip |
stop audio streams before deleting them
svn-id: r25882
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r-- | engines/gob/gob.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index cbd28bc588..37a6032cd6 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -95,6 +95,9 @@ GobEngine::GobEngine(OSystem *syst) : Engine(syst) { } GobEngine::~GobEngine() { + if (_snd) + _snd->terminate(); + delete _mult; delete _game; delete _snd; |