mirror of
https://github.com/opensim/opensim.git
synced 2026-07-04 18:15:56 +08:00
Slight improvement: no need to delay the removal of the queues in EQ, because DisableSimulator is now being sent via UDP
This commit is contained in:
@@ -246,16 +246,8 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
{
|
||||
//m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", agentID, m_scene.RegionInfo.RegionName);
|
||||
|
||||
int count = 0;
|
||||
while (queues.ContainsKey(agentID) && queues[agentID].Count > 0 && count++ < 5)
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
}
|
||||
|
||||
lock (queues)
|
||||
{
|
||||
queues.Remove(agentID);
|
||||
}
|
||||
|
||||
List<UUID> removeitems = new List<UUID>();
|
||||
lock (m_AvatarQueueUUIDMapping)
|
||||
|
||||
Reference in New Issue
Block a user