mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Release http-in URLs when llResetScript is called
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
760047abc5
commit
c6efebdd8c
@@ -183,6 +183,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public void llResetScript()
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user