mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-15 20:30:49 +00:00
Fix handle leak in winmidi driver (#469)
This commit is contained in:
parent
6e9d84f02a
commit
98e4046096
1 changed files with 1 additions and 0 deletions
|
@ -302,6 +302,7 @@ delete_fluid_winmidi_driver(fluid_midi_driver_t *p)
|
|||
PostThreadMessage(dev->dwThread, WM_CLOSE, 0, 0);
|
||||
WaitForSingleObject(dev->hThread, INFINITE);
|
||||
|
||||
CloseHandle(dev->hThread);
|
||||
dev->hThread = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue