diff options
author | Melanie | 2012-08-07 20:48:22 +0100 |
---|---|---|
committer | Melanie | 2012-08-07 20:48:22 +0100 |
commit | 926c0b90a17716ae3f83feaa1703703326bc6434 (patch) | |
tree | 9e1f1028af5fa7b39e02d441f86977ab486a89d3 /OpenSim | |
parent | BulletSim: update SOs and DLLs to run on more Linux versions. Correct multipl... (diff) | |
download | opensim-SC-926c0b90a17716ae3f83feaa1703703326bc6434.zip opensim-SC-926c0b90a17716ae3f83feaa1703703326bc6434.tar.gz opensim-SC-926c0b90a17716ae3f83feaa1703703326bc6434.tar.bz2 opensim-SC-926c0b90a17716ae3f83feaa1703703326bc6434.tar.xz |
Release http-in URLs when llResetScript is called
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
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 | ||