Basic mutability framework

This commit is contained in:
Dynamitos
2022-01-12 14:40:26 +01:00
parent b2718dde70
commit 6d48267ec2
72 changed files with 1781 additions and 1341 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ void WindowManager::notifyWindowClosed(PWindow window)
windows.remove(windows.find(window));
if(windows.empty())
{
std::unique_lock lock(windowsLock);
std::scoped_lock lock(windowsLock);
windowsCV.notify_all();
}
}