diff options
author | Jamieson Christian | 2003-08-08 09:36:37 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-08-08 09:36:37 +0000 |
commit | 456124d109430a29f7ab9f76ed828b37e940c32a (patch) | |
tree | cc4d6cd5b5e50567339be53c55351fed9d5c7aae /simon | |
parent | 9b297a39b1945f431877159a46e3cdad14cedee8 (diff) | |
download | scummvm-rg350-456124d109430a29f7ab9f76ed828b37e940c32a.tar.gz scummvm-rg350-456124d109430a29f7ab9f76ed828b37e940c32a.tar.bz2 scummvm-rg350-456124d109430a29f7ab9f76ed828b37e940c32a.zip |
Fixed hang from double-lock of mutex
svn-id: r9600
Diffstat (limited to 'simon')
-rw-r--r-- | simon/midi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/midi.cpp b/simon/midi.cpp index 1a738d651c..2227d7a03c 100644 --- a/simon/midi.cpp +++ b/simon/midi.cpp @@ -91,8 +91,8 @@ int MidiPlayer::open() { } void MidiPlayer::close() { - _system->lock_mutex (_mutex); stop(); + _system->lock_mutex (_mutex); if (_driver) _driver->close(); _driver = NULL; |