Fix#146819 the app-data-service crashes when the destructor is executed.
This commit is contained in:
parent
e76ebe9f0b
commit
f1f6b36588
|
@ -101,6 +101,8 @@ PendingAppInfoQueue::PendingAppInfoQueue(QObject *parent) : QThread(parent)
|
||||||
|
|
||||||
PendingAppInfoQueue::~PendingAppInfoQueue()
|
PendingAppInfoQueue::~PendingAppInfoQueue()
|
||||||
{
|
{
|
||||||
|
this->quit();
|
||||||
|
this->wait();
|
||||||
if (m_minProcessTimer) {
|
if (m_minProcessTimer) {
|
||||||
delete m_minProcessTimer;
|
delete m_minProcessTimer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue