diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-02-05 15:37:25 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-02-05 15:37:25 -0500 |
| commit | 20ca2f4f21d0b209fab2f36f54558f224dc8803d (patch) | |
| tree | 19c3f0d094213b677f6e725b7cb9b23d0cb6cc4a /dmonwrapper.h | |
| parent | f42d7dcb9209f40184395b483ca9ae065bbb81a6 (diff) | |
Fix undefined behavior on close
Diffstat (limited to 'dmonwrapper.h')
| -rw-r--r-- | dmonwrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<uint32_t, CallbackContext*> m_callbacks; |
