AGOS: Update MidiPlayer::~MidiPlayer() to match the default implementation. Hopefully will fix bug #3419778, thanks to digitall for the pointer.

This commit is contained in:
Travis Howell 2011-10-07 14:38:24 +11:00
parent 19cac9bb11
commit d5a763b763

View file

@ -62,6 +62,7 @@ MidiPlayer::~MidiPlayer() {
Common::StackLock lock(_mutex);
if (_driver) {
_driver->setTimerCallback(0, 0);
_driver->close();
delete _driver;
}