2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:47:42 +00:00

Fix windows build

This commit is contained in:
2021-02-20 15:02:36 -08:00
parent 76966831b0
commit 732a59c983
2 changed files with 10 additions and 8 deletions

View File

@@ -17,6 +17,7 @@
#include <TlHelp32.h>
static void KillProcessTree(QProcess& proc) {
#if 0
Q_PID pid = proc.pid();
if (!pid)
return;
@@ -45,7 +46,7 @@ static void KillProcessTree(QProcess& proc) {
bContinue = ::Process32Next(hSnap, &pe);
}
}
#endif
proc.close();
proc.terminate();
}