dont try to process packets for deleted clients
parent
bbe55df6c6
commit
bdab95f1d2
|
@ -2301,8 +2301,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
Packet packet = incomingPacket.Packet;
|
Packet packet = incomingPacket.Packet;
|
||||||
LLClientView client = incomingPacket.Client;
|
LLClientView client = incomingPacket.Client;
|
||||||
|
|
||||||
// if (client.IsActive)
|
if(!client.IsActive)
|
||||||
// {
|
return;
|
||||||
|
|
||||||
m_currentIncomingClient = client;
|
m_currentIncomingClient = client;
|
||||||
|
|
||||||
try
|
try
|
||||||
|
@ -2329,13 +2330,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
{
|
{
|
||||||
m_currentIncomingClient = null;
|
m_currentIncomingClient = null;
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// m_log.DebugFormat(
|
|
||||||
// "[LLUDPSERVER]: Dropped incoming {0} for dead client {1} in {2}",
|
|
||||||
// packet.Type, client.Name, m_scene.RegionInfo.RegionName);
|
|
||||||
// }
|
|
||||||
|
|
||||||
IncomingPacketsProcessed++;
|
IncomingPacketsProcessed++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue