diff options
| author | Martin Ridgers <[email protected]> | 2021-11-29 15:23:46 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-29 15:23:46 +0100 |
| commit | 6fc8048dc1909ee0a1080689bc427532118fa8f5 (patch) | |
| tree | 664ea418f7f56d76b53a4e50aed8ee9240b51e11 /zencore/thread.cpp | |
| parent | std::fs::path is a wide character string under the hood (diff) | |
| download | zen-6fc8048dc1909ee0a1080689bc427532118fa8f5.tar.xz zen-6fc8048dc1909ee0a1080689bc427532118fa8f5.zip | |
Process active condition was back to front
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); |