From 7fbdbc680476e2899c7964345a4dbb6602884633 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Tue, 9 Nov 2021 16:52:55 +0100 Subject: ProcessHandle::Reset() for Linux --- zencore/thread.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zencore/thread.cpp') diff --git a/zencore/thread.cpp b/zencore/thread.cpp index 452ec6079..ba26fef36 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -400,8 +400,11 @@ ProcessHandle::Reset() { if (IsValid()) { +#if ZEN_PLATFORM_WINDOWS CloseHandle(m_ProcessHandle); +#endif m_ProcessHandle = nullptr; + m_Pid = 0; } } -- cgit v1.2.3