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