mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 04:01:23 +00:00
minor simplification
svn-id: r24948
This commit is contained in:
parent
c01839bbe9
commit
c553807bfc
@ -101,11 +101,9 @@ int MidiPlayer::open() {
|
||||
}
|
||||
|
||||
void MidiPlayer::close() {
|
||||
_mutex.lock();
|
||||
_driver->setTimerCallback(NULL, NULL);
|
||||
_mutex.unlock();
|
||||
stop();
|
||||
_mutex.lock();
|
||||
_driver->setTimerCallback(NULL, NULL);
|
||||
_driver->close();
|
||||
_driver = 0;
|
||||
_parser->setMidiDriver(NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user