aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-08-22 13:19:39 +0200
committerGitHub <[email protected]>2023-08-22 13:19:39 +0200
commit7006194bda55527c36e7d69e509de30ca1c200f3 (patch)
tree41cf094bf111d80327aa2d060fabc5200a9fefc9 /src
parentchangelog version (diff)
downloadzen-7006194bda55527c36e7d69e509de30ca1c200f3.tar.xz
zen-7006194bda55527c36e7d69e509de30ca1c200f3.zip
Fix construction order in OpenProcessCache (#374)
Diffstat (limited to 'src')
-rw-r--r--src/zenutil/include/zenutil/openprocesscache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenutil/include/zenutil/openprocesscache.h b/src/zenutil/include/zenutil/openprocesscache.h
index 3db4e0b42..5262d62c0 100644
--- a/src/zenutil/include/zenutil/openprocesscache.h
+++ b/src/zenutil/include/zenutil/openprocesscache.h
@@ -31,8 +31,8 @@ private:
RwLock m_SessionsLock;
std::unordered_map<Oid, Process, Oid::Hasher> m_Sessions;
- std::thread m_GcThread;
Event m_GcExitEvent;
+ std::thread m_GcThread;
#endif // ZEN_PLATFORM_WINDOWS
};