QsLog: Use dedicated logging thread to avoid segfaults at app shutdown

When shutting down our apps, we clean up some ressources after app.exec()
has finished. As our logger runs on the apps main thread, it can no longer
respond to any debug messages generated during the cleanup phase.

This can lead to segfaults and error masking.

Solution: Run QsLog in a dedicated thread.
This commit is contained in:
Felix Kauselmann
2022-11-12 14:09:07 +01:00
committed by Luis Ángel San Martín
parent 35466e5080
commit 21b8b70657
2 changed files with 4 additions and 1 deletions

View File

@ -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