Ref T105, modified background updater

* removed gracefulShutdown
* removed isShuttingDown
This commit is contained in:
Klaus Basan
2017-07-09 01:26:08 +02:00
committed by Mathew Sutcliffe
parent 7f3643fb0e
commit 2fbd2c6382
3 changed files with 19 additions and 72 deletions

View File

@@ -149,7 +149,7 @@ void CSwiftData::performGracefulShutdown()
{
if (this->m_updater)
{
this->m_updater->gracefulShutdown();
this->m_updater->abandonAndWait();
}
}
@@ -161,7 +161,7 @@ void CSwiftData::consolidationSettingChanged()
if (m_updater)
{
ui->comp_MainInfoArea->getDataSettingsComponent()->setBackgroundUpdater(nullptr);
m_updater->gracefulShutdown();
m_updater->abandonAndWait();
m_updater = nullptr;
}
}