make Caps IDisposable

This commit is contained in:
UbitUmarov
2020-04-30 03:37:28 +01:00
parent 36d005e1cc
commit 22c28a0260
3 changed files with 23 additions and 6 deletions

View File

@@ -92,7 +92,7 @@ namespace OpenSim.Region.ClientStack.Linden
{
// m_log.InfoFormat("[OBJECTADD]: {0}", "/CAPS/OA/" + capuuid + "/");
caps.RegisterSimpleHandler("ObjectAdd", new SimpleOSDMapHandler("POST", "/" + UUID.Random().ToString(),
caps.RegisterSimpleHandler("ObjectAdd", new SimpleOSDMapHandler("POST", "/" + UUID.Random(),
delegate (IOSHttpRequest httpRequest, IOSHttpResponse httpResponse, OSDMap map)
{
ProcessAdd(httpRequest, httpResponse, map, agentID);