Better decoder, minor refactoring

This commit is contained in:
Niellun
2025-06-02 13:54:15 +03:00
parent 44faedbbdd
commit cb13925433
9 changed files with 210 additions and 105 deletions
+1 -2
View File
@@ -72,10 +72,9 @@ public:
{
unique_lock<std::mutex> lock(_mtx);
bool exit = _count > count;
_lock.wait(lock, [&]
{ return _count > count || !waitFlag; });
return !exit;
return waitFlag;
}
void clear()