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

0.7.3-extended
Justin Clark-Casey (justincc) 2012-06-07 04:00:29 +01:00
parent ed21576ce0
commit cc27a6cb84
1 changed files with 6 additions and 0 deletions

View File

@ -1114,6 +1114,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
client.IsLoggingOut = true; client.IsLoggingOut = true;
client.Close(); 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() private void IncomingPacketHandler()