Minor FSX driver updates

This commit is contained in:
Klaus Basan
2019-05-08 16:19:38 +02:00
parent 7ceb248dd3
commit b9634f9927
2 changed files with 3 additions and 2 deletions

View File

@@ -81,8 +81,9 @@ namespace BlackSimPlugin
// reset flags
m_simPaused = false;
const bool r = CSimulatorPluginCommon::disconnectFrom();
this->emitSimulatorCombinedStatus();
return CSimulatorPluginCommon::disconnectFrom();
return r;
}
bool CSimulatorFsCommon::isFsuipcOpened() const

View File

@@ -122,7 +122,7 @@ namespace BlackSimPlugin
bool CSimulatorFsxCommon::disconnectFrom()
{
if (!m_simConnected) { return true; }
m_simSimulating = false; // treat as stopped, just setting the flag here avoids overhead of on onSimStopped
m_simSimulating = false; // thread as stopped, just setting the flag here avoids overhead of on onSimStopped
m_traceAutoUntilTs = -1;
m_traceSendId = false;
this->reset(); // mark as disconnected and reset all values