improve locking of m_rpcHandlers in BaseHttpServer

bulletsim
Justin Clark-Casey (justincc) 2011-08-22 01:43:34 +01:00
parent 2307d9a2f9
commit 94a8ab80c8
1 changed files with 2 additions and 1 deletions

View File

@ -196,6 +196,7 @@ namespace OpenSim.Framework.Servers.HttpServer
public List<string> GetXmlRpcHandlerKeys() public List<string> GetXmlRpcHandlerKeys()
{ {
lock (m_rpcHandlers)
return new List<string>(m_rpcHandlers.Keys); return new List<string>(m_rpcHandlers.Keys);
} }