mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T105, modified background updater
* removed gracefulShutdown * removed isShuttingDown
This commit is contained in:
committed by
Mathew Sutcliffe
parent
7f3643fb0e
commit
2fbd2c6382
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user