diff options
| author | zousar <[email protected]> | 2023-06-27 01:50:28 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-27 09:50:28 +0200 |
| commit | c45e309cee3580b5c7f0632e2993107827f08515 (patch) | |
| tree | 3a15f22c51f72cfca3ea135cca98a60a048374dc /src/zenhttp/httpserver.cpp | |
| parent | 0.2.14-pre2 (diff) | |
| download | zen-c45e309cee3580b5c7f0632e2993107827f08515.tar.xz zen-c45e309cee3580b5c7f0632e2993107827f08515.zip | |
Fix IsProcessRunning on Windows (#335)
IsProcessRunning on Windows would only consider if we could get a handle to a process. It is possible to get a handle to a process even if it is terminated in Windows. To actually know if the process is running, a further call to GetExitCodeProces is required. Addressing this issue ensures that the ZenServerState::Sweep method doesn't keep terminated processes in the state table.
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions