aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index c3b1f3d..3591d14 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -183,6 +183,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
183 public void llResetScript() 183 public void llResetScript()
184 { 184 {
185 m_host.AddScriptLPS(1); 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 m_ScriptEngine.ApiResetScript(m_item.ItemID); 192 m_ScriptEngine.ApiResetScript(m_item.ItemID);
187 } 193 }
188 194