diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 9a9eba7..624b20b 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -169,18 +169,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
169 | 169 | ||
170 | public override void _StopScript(uint localID, UUID itemID) | 170 | public override void _StopScript(uint localID, UUID itemID) |
171 | { | 171 | { |
172 | // Stop script | ||
173 | //#if DEBUG | ||
174 | // m_scriptEngine.Log.Debug("[" + m_scriptEngine.ScriptEngineName + "]: Stop script localID: " + localID + " LLUID: " + itemID.ToString()); | ||
175 | //#endif | ||
176 | |||
177 | // Stop long command on script | ||
178 | AsyncCommandManager.RemoveScript(m_scriptEngine, localID, itemID); | ||
179 | |||
180 | IScript LSLBC = GetScript(localID, itemID); | 172 | IScript LSLBC = GetScript(localID, itemID); |
181 | if (LSLBC == null) | 173 | if (LSLBC == null) |
182 | return; | 174 | return; |
183 | 175 | ||
176 | // Stop long command on script | ||
177 | AsyncCommandManager.RemoveScript(m_scriptEngine, localID, itemID); | ||
178 | |||
184 | // TEMP: First serialize it | 179 | // TEMP: First serialize it |
185 | //GetSerializedScript(localID, itemID); | 180 | //GetSerializedScript(localID, itemID); |
186 | 181 | ||