Merge pull request #6541 from jbroadus/cleanup-lister-thread
Delete DeviceLister worker thread.
This commit is contained in:
commit
97ffae2e70
|
@ -34,6 +34,7 @@ DeviceLister::~DeviceLister() {
|
|||
if (thread_) {
|
||||
thread_->quit();
|
||||
thread_->wait(1000);
|
||||
thread_->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue