mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
[FS9] Fix a crash (pure virtual call)
This commit is contained in:
@@ -167,6 +167,10 @@ namespace BlackSimPlugin::Fs9
|
|||||||
{
|
{
|
||||||
closeConnection();
|
closeConnection();
|
||||||
SafeRelease(m_hostAddress);
|
SafeRelease(m_hostAddress);
|
||||||
|
|
||||||
|
// This needs to be disconnected before calling the base class destructor,
|
||||||
|
// otherwise the slot can be called after the derived class is destroyed.
|
||||||
|
disconnect(this, &CFs9Client::connectionComplete, this, &CFs9Client::handleConnectionCompleted);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CFs9Client::sendTextMessage(const QString &textMessage)
|
void CFs9Client::sendTextMessage(const QString &textMessage)
|
||||||
|
|||||||
Reference in New Issue
Block a user