mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-07-25 03:24:20 -04:00
MISC 2: Make ReferenceCounter refcount itself protected by the same mutex of the whole class, for state consistency
This commit is contained in:
@@ -28,7 +28,7 @@ public:
|
||||
}
|
||||
|
||||
~AudioThreadInput() {
|
||||
std::lock_guard < std::mutex > lock(m_mutex);
|
||||
std::lock_guard < std::recursive_mutex > lock(m_mutex);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user