aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine
diff options
context:
space:
mode:
authorMelanie2011-10-25 03:16:26 +0100
committerMelanie2011-10-25 03:16:26 +0100
commit85d40ce1d1c3942faf325fa106a466deaa4bca46 (patch)
tree8db0d587cc1b1ce7106d3b057bad7e2d90d9423e /OpenSim/Region/ScriptEngine/XEngine
parentMerge commit '3cf7fb4eca2ad57835311e8098868f2571709392' into bigmerge (diff)
parentFix resume scripts. (diff)
downloadopensim-SC_OLD-85d40ce1d1c3942faf325fa106a466deaa4bca46.zip
opensim-SC_OLD-85d40ce1d1c3942faf325fa106a466deaa4bca46.tar.gz
opensim-SC_OLD-85d40ce1d1c3942faf325fa106a466deaa4bca46.tar.bz2
opensim-SC_OLD-85d40ce1d1c3942faf325fa106a466deaa4bca46.tar.xz
Merge commit '5607fd3af828846291de3358067bb1214619489e' into bigmerge
Conflicts: OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 696c216..aa11eca 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -1009,7 +1009,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1009 // Do we even have it? 1009 // Do we even have it?
1010 if (!m_Scripts.ContainsKey(itemID)) 1010 if (!m_Scripts.ContainsKey(itemID))
1011 { 1011 {
1012 // Do we even have it?
1013 if (!m_Scripts.ContainsKey(itemID))
1014 return;
1015
1012 lockScriptsForRead(false); 1016 lockScriptsForRead(false);
1017 lockScriptsForWrite(true);
1018 m_Scripts.Remove(itemID);
1019 lockScriptsForWrite(false);
1020
1013 return; 1021 return;
1014 } 1022 }
1015 1023