forked from danmar/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not crash on GUI shutdown (danmar#5288)
Seems current code for worker threads termination is too brutal which leads to crash on termination: ``` QThread::start: Thread termination error: No such process Segmentation fault (core dumped) ``` Seems better to use `quit()` and `wait()`, like in an example: https://doc.qt.io/qt-6/qthread.html#details tested: Ubuntu Linux 20
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters