From 06d7b89455d097684a006b3e8d9267d9c589085b Mon Sep 17 00:00:00 2001 From: Dale Glass Date: Tue, 1 Nov 2022 17:07:02 +0100 Subject: [PATCH] Improve logging, forgotten commit --- libraries/shared/src/SettingInterface.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/shared/src/SettingInterface.cpp b/libraries/shared/src/SettingInterface.cpp index 9f4c8fd60d..a9f7e701c7 100644 --- a/libraries/shared/src/SettingInterface.cpp +++ b/libraries/shared/src/SettingInterface.cpp @@ -23,13 +23,15 @@ #include "SharedUtil.h" #include "ThreadHelpers.h" +Q_LOGGING_CATEGORY(settings_interface, "settings.interface") + namespace Setting { // This should only run as a post-routine in the QCoreApplication destructor void cleanupSettingsSaveThread() { auto globalManager = DependencyManager::get(); Q_ASSERT(qApp && globalManager); - globalManager->forceSave(); + globalManager->terminateThread(); qCDebug(shared) << "Settings thread stopped."; }