mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
Ref T270, "about to shutdown" in CApplication
This commit is contained in:
@@ -963,6 +963,9 @@ namespace BlackCore
|
||||
if (m_shutdownInProgress) { return; }
|
||||
m_shutdownInProgress = true;
|
||||
|
||||
// info that we will shutdown
|
||||
emit this->aboutToShutdown();
|
||||
|
||||
// before marked as shutdown, otherwise URL
|
||||
if (m_networkWatchDog)
|
||||
{
|
||||
|
||||
@@ -500,6 +500,9 @@ namespace BlackCore
|
||||
//! DB accessibility changed
|
||||
void changedSwiftDbAccessibility(bool accessible, const BlackMisc::Network::CUrl &testedUrl);
|
||||
|
||||
//! About to shutdown
|
||||
void aboutToShutdown();
|
||||
|
||||
protected:
|
||||
//! Setup read/synchronized
|
||||
void setupHandlingIsCompleted(bool available);
|
||||
|
||||
Reference in New Issue
Block a user