Fixed hang from double-lock of mutex

svn-id: r9600
This commit is contained in:
Jamieson Christian 2003-08-08 09:36:37 +00:00
parent 9b297a39b1
commit 456124d109

View File

@ -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;