aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/midi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agos/midi.cpp b/engines/agos/midi.cpp
index 9a93e0a273..431f080bf2 100644
--- a/engines/agos/midi.cpp
+++ b/engines/agos/midi.cpp
@@ -62,6 +62,7 @@ MidiPlayer::~MidiPlayer() {
Common::StackLock lock(_mutex);
if (_driver) {
+ _driver->setTimerCallback(0, 0);
_driver->close();
delete _driver;
}