diff options
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index b8f0af77c..846dcc67a 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -937,7 +937,7 @@ ProcessMonitor::IsRunning() DWORD ExitCode = 0; GetExitCodeProcess(Proc, &ExitCode); - ProcIsActive = (ExitCode != STILL_ACTIVE); + ProcIsActive = (ExitCode == STILL_ACTIVE); if (!ProcIsActive) { CloseHandle(Proc); |