aboutsummaryrefslogtreecommitdiff
path: root/backends/midi
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-06-12 06:45:48 +0000
committerTorbjörn Andersson2003-06-12 06:45:48 +0000
commitf504809b87ea5a3e879513051385049964af86a1 (patch)
tree7539f3d24964052a0f453fca56d6917493fb900c /backends/midi
parent0503b553dfddc736a14a1b7d894308929e8b0ef5 (diff)
downloadscummvm-rg350-f504809b87ea5a3e879513051385049964af86a1.tar.gz
scummvm-rg350-f504809b87ea5a3e879513051385049964af86a1.tar.bz2
scummvm-rg350-f504809b87ea5a3e879513051385049964af86a1.zip
Applied Jamieson630's race condition fix to the ALSA driver as well.
svn-id: r8440
Diffstat (limited to 'backends/midi')
-rw-r--r--backends/midi/alsa.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp
index e2458bf8ed..d3c3fb275c 100644
--- a/backends/midi/alsa.cpp
+++ b/backends/midi/alsa.cpp
@@ -134,6 +134,7 @@ int MidiDriver_ALSA::open() {
void MidiDriver_ALSA::close() {
_isOpen = false;
+ MidiDriver_MPU401::close();
if (seq_handle)
snd_seq_close(seq_handle);
}