improve locking of m_HTTPHandlers in BaseHttpServer
parent
5a11cffd23
commit
f9a367e2f6
|
@ -220,10 +220,10 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
|
||||
public List<string> GetHTTPHandlerKeys()
|
||||
{
|
||||
return new List<string>(m_HTTPHandlers.Keys);
|
||||
lock (m_HTTPHandlers)
|
||||
return new List<string>(m_HTTPHandlers.Keys);
|
||||
}
|
||||
|
||||
|
||||
public bool AddPollServiceHTTPHandler(string methodName, GenericHTTPMethod handler, PollServiceEventArgs args)
|
||||
{
|
||||
bool pollHandlerResult = false;
|
||||
|
|
Loading…
Reference in New Issue