diff --git a/Common/UI/Screen.cpp b/Common/UI/Screen.cpp index 0a51bdc17ee8..80b8fced14ff 100644 --- a/Common/UI/Screen.cpp +++ b/Common/UI/Screen.cpp @@ -296,6 +296,7 @@ void ScreenManager::pop() { } void ScreenManager::RecreateAllViews() { + std::lock_guard guard(inputLock_); for (auto it = stack_.begin(); it != stack_.end(); ++it) { it->screen->RecreateViews(); }