aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/seq.cpp
diff options
context:
space:
mode:
authorJamieson Christian2003-06-11 05:54:46 +0000
committerJamieson Christian2003-06-11 05:54:46 +0000
commitd2c952b3154523a718c49df9b5a01318c4dc709c (patch)
tree63347cbfd537020aa4b9f661161711c42fdd1fba /backends/midi/seq.cpp
parent167ad2575a68ec09e6b855c8d3eb3cbc4cdcfeef (diff)
downloadscummvm-rg350-d2c952b3154523a718c49df9b5a01318c4dc709c.tar.gz
scummvm-rg350-d2c952b3154523a718c49df9b5a01318c4dc709c.tar.bz2
scummvm-rg350-d2c952b3154523a718c49df9b5a01318c4dc709c.zip
Fixed race condition in MPU401 shutdown
svn-id: r8432
Diffstat (limited to 'backends/midi/seq.cpp')
-rw-r--r--backends/midi/seq.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/midi/seq.cpp b/backends/midi/seq.cpp
index fc7777ece2..2fab845887 100644
--- a/backends/midi/seq.cpp
+++ b/backends/midi/seq.cpp
@@ -87,6 +87,7 @@ int MidiDriver_SEQ::open() {
}
void MidiDriver_SEQ::close() {
+ MidiDriver_MPU401::close();
::close(device);
_isOpen = false;
}