Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert DeleteThread and TruncateThread to QRunnable
Fixes #9757. It seems that it might be the DeleteThread exiting poorly causing this issue. As I'd earlier found that the this->deleteLater() code structure is nasty in QThreads, this was ripe for a redo anyways. I have changed it to using a QRunnable (kinda a lightweight QThread) which actually will run in a thread from a global threadpool, and will clean up after itself. Since the TruncateThread was nearly identical in structure, I changed it too.
- Loading branch information
Showing
2 changed files
with
95 additions
and
99 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
Oops, something went wrong.