1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Alsa MIDI input thread gets properly reinitialized on open.

This commit is contained in:
Ovnuniarchos
2020-01-18 15:59:59 +01:00
parent 269eb5f06c
commit af95554aff

View File

@@ -128,6 +128,7 @@ Error MIDIDriverALSAMidi::open() {
snd_device_name_free_hint(hints);
mutex = Mutex::create();
exit_thread = false;
thread = Thread::create(MIDIDriverALSAMidi::thread_func, this);
return OK;