diff options
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index cb1117a..85fb364 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -196,7 +196,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
196 | 196 | ||
197 | public List<string> GetXmlRpcHandlerKeys() | 197 | public List<string> GetXmlRpcHandlerKeys() |
198 | { | 198 | { |
199 | return new List<string>(m_rpcHandlers.Keys); | 199 | lock (m_rpcHandlers) |
200 | return new List<string>(m_rpcHandlers.Keys); | ||
200 | } | 201 | } |
201 | 202 | ||
202 | public bool AddHTTPHandler(string methodName, GenericHTTPMethod handler) | 203 | public bool AddHTTPHandler(string methodName, GenericHTTPMethod handler) |