Improved handling for "unexpected shutdown"

(such as DBus down/unavailable)
This commit is contained in:
Klaus Basan
2017-03-10 01:28:12 +01:00
committed by Mathew Sutcliffe
parent 6640c84e63
commit 5323491eb9
3 changed files with 9 additions and 2 deletions

View File

@@ -396,6 +396,7 @@ namespace BlackCore
bool CApplication::hasWebDataServices() const
{
if (this->isShuttingDown()) { return false; } // service will not survive for long
return this->m_webDataServices;
}