aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
index 9367811..95e0f2b 100644
--- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
+++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
@@ -93,6 +93,7 @@ namespace OpenSim.Region.Environment.Modules.Framework
93 93
94 scene.EventManager.OnNewClient += OnNewClient; 94 scene.EventManager.OnNewClient += OnNewClient;
95 scene.EventManager.OnClientClosed += ClientClosed; 95 scene.EventManager.OnClientClosed += ClientClosed;
96 scene.EventManager.OnRemovePresence += ClientClosed;
96 scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel; 97 scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel;
97 scene.EventManager.OnMakeChildAgent += MakeChildAgent; 98 scene.EventManager.OnMakeChildAgent += MakeChildAgent;
98 scene.EventManager.OnRegisterCaps += OnRegisterCaps; 99 scene.EventManager.OnRegisterCaps += OnRegisterCaps;
@@ -170,12 +171,13 @@ namespace OpenSim.Region.Environment.Modules.Framework
170 171
171 private void ClientClosed(IClientAPI client) 172 private void ClientClosed(IClientAPI client)
172 { 173 {
173 m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", client.AgentId, m_scene.RegionInfo.RegionName); 174
174 ClientClosed(client.AgentId); 175 ClientClosed(client.AgentId);
175 } 176 }
176 177
177 private void ClientClosed(UUID AgentID) 178 private void ClientClosed(UUID AgentID)
178 { 179 {
180 m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", AgentID, m_scene.RegionInfo.RegionName);
179 lock (queues) 181 lock (queues)
180 { 182 {
181 queues.Remove(AgentID); 183 queues.Remove(AgentID);
@@ -319,7 +321,7 @@ namespace OpenSim.Region.Environment.Modules.Framework
319 321
320 if (element == null) 322 if (element == null)
321 { 323 {
322 m_log.ErrorFormat("[EVENTQUEUE]: Failed to process queue"); 324 // m_log.ErrorFormat("[EVENTQUEUE]: Failed to process queue");
323 if (thisID == -1) // close-request 325 if (thisID == -1) // close-request
324 { 326 {
325 responsedata["int_response_code"] = 404; 327 responsedata["int_response_code"] = 404;