aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJamieson Christian2003-06-18 22:46:17 +0000
committerJamieson Christian2003-06-18 22:46:17 +0000
commitf83a32464c99f577ad5ef13198d95a0ee1709037 (patch)
tree0b6f146f9b797313595b3da93cd39d0cb5f56d65 /sound
parent3567c13361b7dfb28c9a2eaf915d5cbbae2516f3 (diff)
downloadscummvm-rg350-f83a32464c99f577ad5ef13198d95a0ee1709037.tar.gz
scummvm-rg350-f83a32464c99f577ad5ef13198d95a0ee1709037.tar.bz2
scummvm-rg350-f83a32464c99f577ad5ef13198d95a0ee1709037.zip
Fix for bug [756555] ALL: With '-ewindows' notes don't stop at quit
and bug [755176] SIMON2: Hanging notes More cleanup of the thread issues associated with iMuse and MidiParser shutdown. Untested. svn-id: r8546
Diffstat (limited to 'sound')
-rw-r--r--sound/midiparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/midiparser.h b/sound/midiparser.h
index 5e5bb6ca49..4ac4a69746 100644
--- a/sound/midiparser.h
+++ b/sound/midiparser.h
@@ -234,7 +234,7 @@ public:
public:
MidiParser();
- virtual ~MidiParser() { }
+ virtual ~MidiParser() { allNotesOff(); }
virtual bool loadMusic (byte *data, uint32 size) = 0;
virtual void unloadMusic();