aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2013-07-26 07:39:57 -0700
committerDiva Canto2013-07-26 07:39:57 -0700
commitd5367a219daa0b946b3394e342734945d5ef7f1b (patch)
treef3e6cbd45d9338414ea06b64d6d1da3df1b94a73 /OpenSim
parentThis should fix all issues with teleports. One should be able to TP as fast a... (diff)
downloadopensim-SC_OLD-d5367a219daa0b946b3394e342734945d5ef7f1b.zip
opensim-SC_OLD-d5367a219daa0b946b3394e342734945d5ef7f1b.tar.gz
opensim-SC_OLD-d5367a219daa0b946b3394e342734945d5ef7f1b.tar.bz2
opensim-SC_OLD-d5367a219daa0b946b3394e342734945d5ef7f1b.tar.xz
Slight improvement: no need to delay the removal of the queues in EQ, because DisableSimulator is now being sent via UDP
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
index d02496f..c69f758 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
@@ -246,16 +246,8 @@ namespace OpenSim.Region.ClientStack.Linden
246 { 246 {
247 //m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", agentID, m_scene.RegionInfo.RegionName); 247 //m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", agentID, m_scene.RegionInfo.RegionName);
248 248
249 int count = 0;
250 while (queues.ContainsKey(agentID) && queues[agentID].Count > 0 && count++ < 5)
251 {
252 Thread.Sleep(1000);
253 }
254
255 lock (queues) 249 lock (queues)
256 {
257 queues.Remove(agentID); 250 queues.Remove(agentID);
258 }
259 251
260 List<UUID> removeitems = new List<UUID>(); 252 List<UUID> removeitems = new List<UUID>();
261 lock (m_AvatarQueueUUIDMapping) 253 lock (m_AvatarQueueUUIDMapping)