From 20ca2f4f21d0b209fab2f36f54558f224dc8803d Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 5 Feb 2024 15:37:25 -0500 Subject: Fix undefined behavior on close --- dmonwrapper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dmonwrapper.h') diff --git a/dmonwrapper.h b/dmonwrapper.h index ac588329..06b4c857 100644 --- a/dmonwrapper.h +++ b/dmonwrapper.h @@ -18,8 +18,8 @@ class DMonWrapper CallbackFunction callback; }; - static bool DMON_INITIALIZED; - static std::mutex DMON_MUTEX; + static bool g_dmonInitialized; + static std::mutex g_dmonMutex; std::map m_callbacks; -- cgit v1.3.1