Call CloseHandle() after wait on Windows
TerminateProcess() is "equivalent" to kill(), while WaitForSingleObject() is "equivalent" to waitpid(), so the handle must be closed after WaitForSingleObject().
R
Romain Vimont committed
05e8c1a3c5e955d2941d882e5fe784e6695e3ec4
Parent: 83910d3