mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Guard
This commit is contained in:
committed by
Mat Sutcliffe
parent
3b73f6aa25
commit
8e89488bae
@@ -26,7 +26,7 @@ namespace BlackCore
|
||||
|
||||
void CAfvMapReader::updateFromMap()
|
||||
{
|
||||
if (!sApp || sApp->isShuttingDown()) { return; }
|
||||
if (!sApp || !sApp->getNetworkAccessManager() || sApp->isShuttingDown()) { return; }
|
||||
|
||||
QEventLoop loop;
|
||||
connect(sApp->getNetworkAccessManager(), &QNetworkAccessManager::finished, &loop, &QEventLoop::quit);
|
||||
|
||||
Reference in New Issue
Block a user