diff options
author | Dr Scofield | 2009-06-25 11:30:31 +0000 |
---|---|---|
committer | Dr Scofield | 2009-06-25 11:30:31 +0000 |
commit | c1976d12003a09159902654c2ceec994b33fdf37 (patch) | |
tree | b693dfb0608ec91fae6e850fe90e2550256e6380 /OpenSim | |
parent | have to clear m_PendingAcks not m_PendingAcksMap (diff) | |
download | opensim-SC_OLD-c1976d12003a09159902654c2ceec994b33fdf37.zip opensim-SC_OLD-c1976d12003a09159902654c2ceec994b33fdf37.tar.gz opensim-SC_OLD-c1976d12003a09159902654c2ceec994b33fdf37.tar.bz2 opensim-SC_OLD-c1976d12003a09159902654c2ceec994b33fdf37.tar.xz |
moving the m_PendingAcksMap.Remove() out of the foreach and clearing
it instead after the foreach as we are going through the whole
m_PendingAcks list anyhow
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index d32ed5d..7f335db 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |||
@@ -377,9 +377,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
377 | acks.Packets[i] = new PacketAckPacket.PacketsBlock(); | 377 | acks.Packets[i] = new PacketAckPacket.PacketsBlock(); |
378 | acks.Packets[i].ID = m_PendingAcks[i]; | 378 | acks.Packets[i].ID = m_PendingAcks[i]; |
379 | 379 | ||
380 | m_PendingAcksMap.Remove(m_PendingAcks[i]); | ||
381 | } | 380 | } |
382 | m_PendingAcks.Clear(); | 381 | m_PendingAcks.Clear(); |
382 | m_PendingAcksMap.Clear(); | ||
383 | 383 | ||
384 | acks.Header.Reliable = false; | 384 | acks.Header.Reliable = false; |
385 | OutPacket(acks, ThrottleOutPacketType.Unknown); | 385 | OutPacket(acks, ThrottleOutPacketType.Unknown); |