mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Guard for "CLoginComponent::onWebServiceDataRead"
This commit is contained in:
committed by
Mat Sutcliffe
parent
86c8568bf2
commit
52de67a72f
@@ -365,6 +365,7 @@ namespace BlackGui
|
|||||||
void CLoginComponent::onWebServiceDataRead(CEntityFlags::Entity entity, CEntityFlags::ReadState state, int number)
|
void CLoginComponent::onWebServiceDataRead(CEntityFlags::Entity entity, CEntityFlags::ReadState state, int number)
|
||||||
{
|
{
|
||||||
if (!CEntityFlags::isFinishedReadState(state)) { return; }
|
if (!CEntityFlags::isFinishedReadState(state)) { return; }
|
||||||
|
if (!sGui || !sGui->getIContextNetwork() || sGui->isShuttingDown()) { return; }
|
||||||
Q_UNUSED(number)
|
Q_UNUSED(number)
|
||||||
|
|
||||||
if (entity == CEntityFlags::VatsimDataFile)
|
if (entity == CEntityFlags::VatsimDataFile)
|
||||||
|
|||||||
Reference in New Issue
Block a user