kopia lustrzana https://github.com/meshtastic/firmware
Call cancelSending in stopRetransmission
This also removes pending packet from txQueue if it was already in therepull/1444/head
rodzic
c07976438b
commit
348e78718d
|
@ -151,7 +151,7 @@ bool ReliableRouter::stopRetransmission(GlobalPacketId key)
|
|||
if (old) {
|
||||
auto numErased = pending.erase(key);
|
||||
assert(numErased == 1);
|
||||
packetPool.release(old->packet);
|
||||
cancelSending(getFrom(old->packet), old->packet->id);
|
||||
return true;
|
||||
} else
|
||||
return false;
|
||||
|
|
Ładowanie…
Reference in New Issue