mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #431, infinite recursion in driver unload
* Trivial changes to avoid changedStatus signal when nothing changed * Do not reload plugin when already loaded
This commit is contained in:
@@ -193,6 +193,7 @@ namespace BlackSimPlugin
|
||||
|
||||
bool CSimulatorXPlane::disconnectFrom()
|
||||
{
|
||||
if (!this->isConnected()) { return true; } // avoid emit if already disconnected
|
||||
if (m_traffic)
|
||||
{
|
||||
m_traffic->cleanup();
|
||||
|
||||
Reference in New Issue
Block a user