MISC 2: Make ReferenceCounter refcount itself protected by the same mutex of the whole class, for state consistency

This commit is contained in:
vsonnier
2016-06-01 19:46:45 +02:00
parent 357dcc967b
commit fc4fa3e74f
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ public:
}
~ModemIQData() {
std::lock_guard < std::mutex > lock(m_mutex);
std::lock_guard < std::recursive_mutex > lock(m_mutex);
}
};