From 98973293d8667453c9e247471e339dfccc5384d5 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 1 Nov 2024 14:51:46 +0100 Subject: [PATCH] Ensure creation of shutdownGuard on main thread Minimizes errors and allows us to use shutdownGuard as "an object on the main thread" from other threads. Change-Id: I8bca128a3fe7d6ed9ca585891557af729c5479bb Reviewed-by: hjk --- src/libs/extensionsystem/pluginmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/extensionsystem/pluginmanager.cpp b/src/libs/extensionsystem/pluginmanager.cpp index 7560c86a85d..f8eb51affb9 100644 --- a/src/libs/extensionsystem/pluginmanager.cpp +++ b/src/libs/extensionsystem/pluginmanager.cpp @@ -274,6 +274,7 @@ PluginManager::PluginManager() { m_instance = this; d = new PluginManagerPrivate(this); + shutdownGuard(); // ensure creation on main thread } /*!