diff options
| author | Stefan Boberg <[email protected]> | 2021-09-16 22:49:59 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-16 22:49:59 +0200 |
| commit | 14a9b3d70c39e9823bdd93b44c5bc7479062defd (patch) | |
| tree | d6856ae66f0089121e3cfa6f26dcbac0d96799b8 /zencore/thread.cpp | |
| parent | Added Oid::FromMemory() (diff) | |
| download | zen-14a9b3d70c39e9823bdd93b44c5bc7479062defd.tar.xz zen-14a9b3d70c39e9823bdd93b44c5bc7479062defd.zip | |
clang-format
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index ee00d38d4..1c7e4b3ab 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -76,7 +76,7 @@ Event::Reset() ResetEvent(m_EventHandle); } -void +void Event::Close() { CloseHandle(m_EventHandle); @@ -291,7 +291,7 @@ ProcessMonitor::IsRunning() { DWORD ExitCode = 0; GetExitCodeProcess(Proc, &ExitCode); - + if (ExitCode != STILL_ACTIVE) { CloseHandle(Proc); |