ThreadPoolClientBranch
parent
5dd741267e
commit
29c869fd33
|
@ -2373,8 +2373,19 @@ namespace OpenSim.Region.ClientStack
|
||||||
{
|
{
|
||||||
foreach (PacketAckPacket.PacketsBlock block in ackPacket.Packets)
|
foreach (PacketAckPacket.PacketsBlock block in ackPacket.Packets)
|
||||||
{
|
{
|
||||||
m_unAckedBytes -= m_needAck[block.ID].ToBytes().Length;
|
if (m_needAck.ContainsKey(block.ID))
|
||||||
m_needAck.Remove(block.ID);
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
m_unAckedBytes -= m_needAck[block.ID].ToBytes().Length;
|
||||||
|
m_needAck.Remove(block.ID);
|
||||||
|
}
|
||||||
|
catch (System.Collections.Generic.KeyNotFoundException)
|
||||||
|
{
|
||||||
|
// Did another packet come in with the ack already?
|
||||||
|
// apparently so!
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue