Add missing mutex lock in ScreenManager::RecreateAllViews

This commit is contained in:
Henrik Rydgård committed 2023-09-11 00:31:59 +02:00
1 parent c343c194ff
commit 5547fe2107
1 file changed
+1
+1
View File
@@ -296,6 +296,7 @@ void ScreenManager::pop() {
}
void ScreenManager::RecreateAllViews() {
std::lock_guard<std::recursive_mutex> guard(inputLock_);
for (auto it = stack_.begin(); it != stack_.end(); ++it) {
it->screen->RecreateViews();
}