From 5547fe21075bcc5e520b9be1b1b847ac17fa4597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 11 Sep 2023 00:31:51 +0200 Subject: [PATCH] Add missing mutex lock in ScreenManager::RecreateAllViews --- Common/UI/Screen.cpp | 1 + 1 file changed, 1 insertion(+) 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(); }