mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-02 18:36:49 +01:00
Try to stop pending update before quit.
This commit is contained in:
parent
9d4501d379
commit
79ae3bfd94
@ -90,6 +90,8 @@ void FeedsModel::quit() {
|
|||||||
|
|
||||||
// Close worker threads.
|
// Close worker threads.
|
||||||
if (m_feedDownloaderThread != NULL && m_feedDownloaderThread->isRunning()) {
|
if (m_feedDownloaderThread != NULL && m_feedDownloaderThread->isRunning()) {
|
||||||
|
m_feedDownloader->stopRunningUpdate();
|
||||||
|
|
||||||
qDebug("Quitting feed downloader thread.");
|
qDebug("Quitting feed downloader thread.");
|
||||||
m_feedDownloaderThread->quit();
|
m_feedDownloaderThread->quit();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user