aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authordiva2008-12-22 05:59:29 +0000
committerdiva2008-12-22 05:59:29 +0000
commitae30d74b79d7e972626a3d92c0669f5855f8e59f (patch)
tree26068062a069d1da4cf115307f4d450f29d5c827 /OpenSim/Region/Environment/Modules
parentThanks to M. Igarashi and nlin for a patch that improves conformance of the f... (diff)
downloadopensim-SC-ae30d74b79d7e972626a3d92c0669f5855f8e59f.zip
opensim-SC-ae30d74b79d7e972626a3d92c0669f5855f8e59f.tar.gz
opensim-SC-ae30d74b79d7e972626a3d92c0669f5855f8e59f.tar.bz2
opensim-SC-ae30d74b79d7e972626a3d92c0669f5855f8e59f.tar.xz
On closing EQs, make sure to wait for the viewer to fetch the last events.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
index c5930a0..1a315bc 100644
--- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
+++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
@@ -30,6 +30,7 @@ using System.Collections.Generic;
30using System.Net; 30using System.Net;
31using System.Net.Sockets; 31using System.Net.Sockets;
32using System.Reflection; 32using System.Reflection;
33using System.Threading;
33using System.Xml; 34using System.Xml;
34using OpenMetaverse; 35using OpenMetaverse;
35using OpenMetaverse.StructuredData; 36using OpenMetaverse.StructuredData;
@@ -207,6 +208,9 @@ namespace OpenSim.Region.Environment.Modules.Framework
207 private void ClientClosed(UUID AgentID) 208 private void ClientClosed(UUID AgentID)
208 { 209 {
209 m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", AgentID, m_scene.RegionInfo.RegionName); 210 m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", AgentID, m_scene.RegionInfo.RegionName);
211 while (queues[AgentID].Count() > 0)
212 Thread.Sleep(1000);
213
210 lock (queues) 214 lock (queues)
211 { 215 {
212 queues.Remove(AgentID); 216 queues.Remove(AgentID);