Try to stop pending update before quit.

This commit is contained in:
Martin Rotter 2016-02-17 07:17:10 +01:00
parent 9d4501d379
commit 79ae3bfd94

View File

@ -90,6 +90,8 @@ void FeedsModel::quit() {
// Close worker threads.
if (m_feedDownloaderThread != NULL && m_feedDownloaderThread->isRunning()) {
m_feedDownloader->stopRunningUpdate();
qDebug("Quitting feed downloader thread.");
m_feedDownloaderThread->quit();