mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Fix _packets not being cleaned up in ReceivedPacketProcessor
This commit is contained in:
parent
f1babb7fa0
commit
4dddb508a8
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ bool ReceivedPacketProcessor::process() {
|
|||
|
||||
void ReceivedPacketProcessor::nodeKilled(SharedNodePointer node) {
|
||||
lock();
|
||||
_packets.remove_if([&](const NodeSharedPacketPair& pair) { return pair.first == node; });
|
||||
_nodePacketCounts.remove(node->getUUID());
|
||||
unlock();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue