Delete DeviceLister worker thread.

This isn't a serious leak since the lister is only destroyed when Clementine
exits.
This commit is contained in:
Jim Broadus 2020-01-20 12:35:20 -08:00
parent d15777ea15
commit 83d756356c
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();
}
}