diff --git a/ukui-search-app-data-service/pending-app-info-queue.cpp b/ukui-search-app-data-service/pending-app-info-queue.cpp index 8213383..48d5442 100644 --- a/ukui-search-app-data-service/pending-app-info-queue.cpp +++ b/ukui-search-app-data-service/pending-app-info-queue.cpp @@ -101,6 +101,8 @@ PendingAppInfoQueue::PendingAppInfoQueue(QObject *parent) : QThread(parent) PendingAppInfoQueue::~PendingAppInfoQueue() { + this->quit(); + this->wait(); if (m_minProcessTimer) { delete m_minProcessTimer; }