Delete DeviceLister worker thread.
This isn't a serious leak since the lister is only destroyed when Clementine exits.
This commit is contained in:
parent
d15777ea15
commit
83d756356c
|
@ -34,6 +34,7 @@ DeviceLister::~DeviceLister() {
|
|||
if (thread_) {
|
||||
thread_->quit();
|
||||
thread_->wait(1000);
|
||||
thread_->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue