#6567 Closed open handle created when shutting a process down

This commit is contained in:
Jamie Newbon 2020-09-15 09:18:39 +01:00
parent 6def12bfbd
commit d191e46818

View file

@ -574,6 +574,7 @@ MSWindowsWatchdog::shutdownExistingProcesses()
HANDLE handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, entry.th32ProcessID);
shutdownProcess(handle, entry.th32ProcessID, 10);
CloseHandle(handle);
}
}