Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Release http-in URLs when llResetScript is called

  • Loading branch information...
commit 926c0b90a17716ae3f83feaa1703703326bc6434 1 parent 4adb347
@MelanieT MelanieT authored
View
6 OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -183,6 +183,12 @@ public void state(string newState)
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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.