Ref T270, "about to shutdown" in CApplication

This commit is contained in:
Klaus Basan
2018-05-16 21:24:52 +02:00
parent 2ae8f5b03f
commit 58bdbac7b6
2 changed files with 6 additions and 0 deletions

View File

@@ -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)
{

View File

@@ -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);