Fix#146819 the app-data-service crashes when the destructor is executed.
This commit is contained in:
parent
8b2c58381a
commit
229d07565c
|
@ -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