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

This commit is contained in:
Justin Clark-Casey (justincc)
2012-06-07 04:00:29 +01:00
parent 98b46d48fe
commit 7550b97e65

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()