One more check on closing EQs.
parent
c66cfb51f7
commit
fc9ffa5f97
|
@ -208,7 +208,8 @@ namespace OpenSim.Region.Environment.Modules.Framework
|
||||||
private void ClientClosed(UUID AgentID)
|
private void ClientClosed(UUID AgentID)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", AgentID, m_scene.RegionInfo.RegionName);
|
m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", AgentID, m_scene.RegionInfo.RegionName);
|
||||||
while (queues[AgentID].Count() > 0)
|
|
||||||
|
while ((queues[AgentID] != null) && queues[AgentID].Count() > 0)
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(1000);
|
||||||
|
|
||||||
lock (queues)
|
lock (queues)
|
||||||
|
|
Loading…
Reference in New Issue