Merge pull request #6541 from jbroadus/cleanup-lister-thread

Delete DeviceLister worker thread.
This commit is contained in:
John Maguire 2020-01-22 11:05:51 +00:00 committed by GitHub
commit 97ffae2e70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ DeviceLister::~DeviceLister() {
if (thread_) {
thread_->quit();
thread_->wait(1000);
thread_->deleteLater();
}
}