Release http-in URLs when llResetScript is called
parent
d4470c6147
commit
7e287227a4
|
@ -172,6 +172,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
public void llResetScript()
|
public void llResetScript()
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
|
|
||||||
|
// We need to tell the URL module, if we hav one, to release
|
||||||
|
// the allocated URLs
|
||||||
|
if (m_UrlModule != null)
|
||||||
|
m_UrlModule.ScriptRemoved(m_item.ItemID);
|
||||||
|
|
||||||
m_ScriptEngine.ApiResetScript(m_item.ItemID);
|
m_ScriptEngine.ApiResetScript(m_item.ItemID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue