Log warning if we try to remove a UDP client that has already been removed.

0.7.4.1
Justin Clark-Casey (justincc) 2012-06-07 04:00:29 +01:00
parent 98b46d48fe
commit 7550b97e65
1 changed files with 6 additions and 0 deletions

View File

@ -1114,6 +1114,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
client.IsLoggingOut = true;
client.Close();
}
else
{
m_log.WarnFormat(
"[LLUDPSERVER]: Tried to remove client with id {0} but not such client in {1}",
udpClient.AgentID, m_scene.RegionInfo.RegionName);
}
}
private void IncomingPacketHandler()