drop method

void drop(
  1. UDXPacket packet
)

Forgets a tracked packet that is being replaced by others (fitToPath), neither acknowledged nor lost.

Implementation

void drop(UDXPacket packet) {
  if (identical(_sentPackets[packet.sequence], packet)) {
    _sentPackets.remove(packet.sequence);
  }
}