diff options
Diffstat (limited to 'src/profiling/SendCounterPacket.cpp')
-rw-r--r-- | src/profiling/SendCounterPacket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/SendCounterPacket.cpp b/src/profiling/SendCounterPacket.cpp index b9f2b187b7..e48da3ed7c 100644 --- a/src/profiling/SendCounterPacket.cpp +++ b/src/profiling/SendCounterPacket.cpp @@ -945,7 +945,7 @@ void SendCounterPacket::Stop(bool rethrowSendThreadExceptions) // Exception handling lock scope - Begin { // Lock the mutex to handle any exception coming from the send thread - std::unique_lock<std::mutex> lock(m_WaitMutex); + std::lock_guard<std::mutex> lock(m_WaitMutex); // Check if there's an exception to rethrow if (m_SendThreadException) |