mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-01 21:54:39 -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:
@@ -32,7 +32,7 @@ public:
|
||||
}
|
||||
|
||||
~ModemIQData() {
|
||||
std::lock_guard < std::mutex > lock(m_mutex);
|
||||
std::lock_guard < std::recursive_mutex > lock(m_mutex);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user