mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 21:05:31 +08:00
[AFV] Do not attempt to send if not connected
This commit is contained in:
committed by
Mat Sutcliffe
parent
30d764d72c
commit
90e5400049
@@ -565,6 +565,8 @@ namespace BlackCore
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! m_connection->isConnected()) { return; }
|
||||||
|
|
||||||
const QString callsign = this->getCallsign();
|
const QString callsign = this->getCallsign();
|
||||||
const auto transmittingTransceivers = this->getTransmittingTransceivers(); // threadsafe
|
const auto transmittingTransceivers = this->getTransmittingTransceivers(); // threadsafe
|
||||||
if (transmittingTransceivers.size() > 0)
|
if (transmittingTransceivers.size() > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user