Perform synchronous wait until update worker exits.

This commit is contained in:
Martin Rotter 2014-02-09 16:49:30 +01:00
parent df9fb823c8
commit 1bace42ad7

View File

@ -104,6 +104,7 @@ void FeedMessageViewer::quit() {
qDebug("Quitting feed downloader thread.");
m_feedDownloaderThread->quit();
m_feedDownloaderThread->wait();
qDebug("Feed downloader thread aborted. Deleting it from memory.");
m_feedDownloader->deleteLater();