diff --git a/src/main/native/include/support/SafeThread.h b/src/main/native/include/support/SafeThread.h index dfde804595..e0d357a50d 100644 --- a/src/main/native/include/support/SafeThread.h +++ b/src/main/native/include/support/SafeThread.h @@ -35,7 +35,7 @@ class SafeThreadProxyBase { public: SafeThreadProxyBase(SafeThread* thr) : m_thread(thr) { if (!m_thread) return; - m_lock = std::unique_lock(m_thread->m_mutex); + m_lock = std::unique_lock(m_thread->m_mutex); if (!m_thread->m_active) { m_lock.unlock(); m_thread = nullptr;