Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Release http-in URLs when llResetScript is called

  • Loading branch information...
commit 926c0b90a17716ae3f83feaa1703703326bc6434 1 parent 4adb347
Melanie Thielker authored August 07, 2012
6  OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -183,6 +183,12 @@ public void state(string newState)
183 183
         public void llResetScript()
184 184
         {
185 185
             m_host.AddScriptLPS(1);
  186
+
  187
+            // We need to tell the URL module, if we hav one, to release
  188
+            // the allocated URLs
  189
+            if (m_UrlModule != null)
  190
+                m_UrlModule.ScriptRemoved(m_item.ItemID);
  191
+
186 192
             m_ScriptEngine.ApiResetScript(m_item.ItemID);
187 193
         }
188 194
 

0 notes on commit 926c0b9

Please sign in to comment.
Something went wrong with that request. Please try again.