aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2012-08-07 20:48:22 +0100
committerMelanie2012-08-07 20:49:26 +0100
commit1c51ae662c3cff284104ca643479654c8f61d2ff (patch)
treec84e2cc97048478a33273cb779f5f2fa8d1856fb
parentMerge branch 'careminster' into avination (diff)
downloadopensim-SC-1c51ae662c3cff284104ca643479654c8f61d2ff.zip
opensim-SC-1c51ae662c3cff284104ca643479654c8f61d2ff.tar.gz
opensim-SC-1c51ae662c3cff284104ca643479654c8f61d2ff.tar.bz2
opensim-SC-1c51ae662c3cff284104ca643479654c8f61d2ff.tar.xz
Release http-in URLs when llResetScript is called
Diffstat (limited to '')
-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 ce1c364..7237d1d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -226,6 +226,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
226 public void llResetScript() 226 public void llResetScript()
227 { 227 {
228 m_host.AddScriptLPS(1); 228 m_host.AddScriptLPS(1);
229
230 // We need to tell the URL module, if we hav one, to release
231 // the allocated URLs
232 if (m_UrlModule != null)
233 m_UrlModule.ScriptRemoved(m_item.ItemID);
234
229 m_ScriptEngine.ApiResetScript(m_item.ItemID); 235 m_ScriptEngine.ApiResetScript(m_item.ItemID);
230 } 236 }
231 237