aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 988d859..22417b6 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -220,10 +220,10 @@ namespace OpenSim.Framework.Servers.HttpServer
220 220
221 public List<string> GetHTTPHandlerKeys() 221 public List<string> GetHTTPHandlerKeys()
222 { 222 {
223 return new List<string>(m_HTTPHandlers.Keys); 223 lock (m_HTTPHandlers)
224 return new List<string>(m_HTTPHandlers.Keys);
224 } 225 }
225 226
226
227 public bool AddPollServiceHTTPHandler(string methodName, GenericHTTPMethod handler, PollServiceEventArgs args) 227 public bool AddPollServiceHTTPHandler(string methodName, GenericHTTPMethod handler, PollServiceEventArgs args)
228 { 228 {
229 bool pollHandlerResult = false; 229 bool pollHandlerResult = false;