mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
Fixed hang from double-lock of mutex
svn-id: r9600
This commit is contained in:
parent
9b297a39b1
commit
456124d109
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user