Add missing mutex lock in ScreenManager::RecreateAllViews

This commit is contained in:
Henrik Rydgård 2023-09-11 00:31:51 +02:00
parent c343c194ff
commit 5547fe2107

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();
}