aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
index 5f20dc1..d0e78f1 100644
--- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
+++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs
@@ -149,8 +149,14 @@ namespace OpenSim.Region.Environment.Modules.Framework
149 public bool Enqueue(LLSD ev, UUID avatarID) 149 public bool Enqueue(LLSD ev, UUID avatarID)
150 { 150 {
151 m_log.DebugFormat("[EVENTQUEUE]: Enqueuing event for {0} in region {1}", avatarID, m_scene.RegionInfo.RegionName); 151 m_log.DebugFormat("[EVENTQUEUE]: Enqueuing event for {0} in region {1}", avatarID, m_scene.RegionInfo.RegionName);
152 BlockingLLSDQueue queue = GetQueue(avatarID); 152 try
153 queue.Enqueue(ev); 153 {
154 BlockingLLSDQueue queue = GetQueue(avatarID);
155 queue.Enqueue(ev);
156 } catch(NullReferenceException)
157 {
158 return false;
159 }
154 return true; 160 return true;
155 } 161 }
156 #endregion 162 #endregion