mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- added a ResetEvent call in case that Timidity++ did not react to signalling the KillerEvent.
SVN r2942 (trunk)
This commit is contained in:
parent
eb064ebe06
commit
7068c1df48
1 changed files with 1 additions and 0 deletions
|
@ -650,6 +650,7 @@ void TimidityPPMIDIDevice::Stop ()
|
|||
SetEvent(KillerEvent);
|
||||
if (WaitForSingleObject(ChildProcess, 500) != WAIT_OBJECT_0)
|
||||
{
|
||||
ResetEvent(KillerEvent);
|
||||
TerminateProcess(ChildProcess, 666);
|
||||
}
|
||||
CloseHandle(ChildProcess);
|
||||
|
|
Loading…
Reference in a new issue