Merge branch 'master' into careminster

avinationmerge
Melanie 2012-08-07 20:48:57 +01:00
commit d85c49c98b
1 changed files with 6 additions and 0 deletions

View File

@ -226,6 +226,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);
} }