diff --git a/CHANGELOG.md b/CHANGELOG.md index ac1c9586..5fe2bced 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ Version counting is based on semantic versioning (Major.Feature.Patch) * Fixed drag&drop in the comics grid view. * Detect back/forward mouse buttons to move back and forward through the browsing history. +### All apps +* Run logger in a dedicated thread to avoid segfaults at application shutdown + ## 9.10 ### YACReader diff --git a/third_party/QsLog/QsLog.pri b/third_party/QsLog/QsLog.pri index baf9d1f9..20363e1c 100644 --- a/third_party/QsLog/QsLog.pri +++ b/third_party/QsLog/QsLog.pri @@ -1,7 +1,7 @@ INCLUDEPATH += $$PWD #DEFINES += QS_LOG_LINE_NUMBERS # automatically writes the file and line for each log message #DEFINES += QS_LOG_DISABLE # logging code is replaced with a no-op -#DEFINES += QS_LOG_SEPARATE_THREAD # messages are queued and written from a separate thread +DEFINES += QS_LOG_SEPARATE_THREAD # messages are queued and written from a separate thread #DEFINES += QS_LOG_WIN_PRINTF_CONSOLE # Use fprintf instead of OutputDebugString on Windows #DEFINES += QS_LOG_WINDOW # allows easily showing log messages in a UI