mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Shutdown guard
This commit is contained in:
committed by
Roland Winklmeier
parent
b5aeffc31b
commit
9f5e265c5e
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user