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:
parent
19cac9bb11
commit
d5a763b763
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ MidiPlayer::~MidiPlayer() {
|
|||
|
||||
Common::StackLock lock(_mutex);
|
||||
if (_driver) {
|
||||
_driver->setTimerCallback(0, 0);
|
||||
_driver->close();
|
||||
delete _driver;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue