improve locking of m_rpcHandlers in BaseHttpServer
parent
2307d9a2f9
commit
94a8ab80c8
|
@ -196,7 +196,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
|
||||
public List<string> GetXmlRpcHandlerKeys()
|
||||
{
|
||||
return new List<string>(m_rpcHandlers.Keys);
|
||||
lock (m_rpcHandlers)
|
||||
return new List<string>(m_rpcHandlers.Keys);
|
||||
}
|
||||
|
||||
public bool AddHTTPHandler(string methodName, GenericHTTPMethod handler)
|
||||
|
|
Loading…
Reference in New Issue