diff options
author | Torbjörn Andersson | 2010-07-14 04:34:57 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-07-14 04:34:57 +0000 |
commit | 3cb59d237e85805eeab377ec8d571a76d83cd029 (patch) | |
tree | df0c00cf1087dbe4c89aa158da0020b4d53ecd08 /engines/saga | |
parent | bc0c3061100a87d14a75c72296124b741e713218 (diff) | |
download | scummvm-rg350-3cb59d237e85805eeab377ec8d571a76d83cd029.tar.gz scummvm-rg350-3cb59d237e85805eeab377ec8d571a76d83cd029.tar.bz2 scummvm-rg350-3cb59d237e85805eeab377ec8d571a76d83cd029.zip |
Don't close the MIDI driver twice. It's unnecessary, and some of our drivers
may crash. (The ALSA one did, until a few minutes ago.)
svn-id: r50871
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/music.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp index 8b7654d689..fcf27cc845 100644 --- a/engines/saga/music.cpp +++ b/engines/saga/music.cpp @@ -177,7 +177,6 @@ Music::~Music() { _vm->getTimerManager()->removeTimerProc(&musicVolumeGaugeCallback); _mixer->stopHandle(_musicHandle); _driver->setTimerCallback(NULL, NULL); - _driver->close(); delete _driver; _parser->setMidiDriver(NULL); delete _parser; |