From 07792af0c3888669f351945d82e14c8b83f94e1c Mon Sep 17 00:00:00 2001 From: Herve Eruam Date: Fri, 20 Sep 2024 14:57:34 +0200 Subject: [PATCH] Close parmsDb before we destroyed the logger. --- src/server/appserver.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/appserver.cpp b/src/server/appserver.cpp index d984cb643..f0c0932d5 100644 --- a/src/server/appserver.cpp +++ b/src/server/appserver.cpp @@ -418,6 +418,9 @@ void AppServer::onCleanup() { _syncPalMap.clear(); _vfsMap.clear(); + + ParmsDb::instance()->close(); + LOG_DEBUG(_logger, "ParmsDb closed"); } // This task can be long and block the GUI