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
This commit is contained in:
parent
3567c13361
commit
f83a32464c
2 changed files with 2 additions and 7 deletions
|
@ -594,12 +594,7 @@ int IMuseInternal::get_master_volume() {
|
|||
}
|
||||
|
||||
int IMuseInternal::terminate() {
|
||||
// We are going to remove the MIDI drivers,
|
||||
// so first pull any reference to them by
|
||||
// the parts.
|
||||
int i;
|
||||
for (i = 0; i < ARRAYSIZE(_parts); ++i)
|
||||
_parts[i]._mc = 0;
|
||||
stop_all_sounds();
|
||||
|
||||
if (_midi_adlib) {
|
||||
_midi_adlib->close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue