mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Avoid crash during shutdown
This commit is contained in:
committed by
Mat Sutcliffe
parent
e5e6c53c82
commit
48da5da393
@@ -150,6 +150,7 @@ namespace BlackGui
|
||||
|
||||
void CInfoBarStatusComponent::onSimulatorStatusChanged(int status)
|
||||
{
|
||||
if (!sGui || sGui->isShuttingDown()) { return; }
|
||||
const ISimulator::SimulatorStatus simStatus = static_cast<ISimulator::SimulatorStatus>(status);
|
||||
if (simStatus.testFlag(ISimulator::Connected))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user