Shutdown guard

This commit is contained in:
Klaus Basan
2018-09-04 16:16:04 +02:00
committed by Roland Winklmeier
parent b5aeffc31b
commit 9f5e265c5e

View File

@@ -370,6 +370,7 @@ namespace BlackCore
CUrl CNetworkWatchdog::dbTestUrl()
{
// requires global setup to be read
if (!sApp || sApp->isShuttingDown()) { return CUrl(); }
const CUrl testUrl(sApp->getGlobalSetup().getDbHomePageUrl());
return testUrl;
}