diff options
Mantis #2350
Move the DotNetEngine Unloading script debug message
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs b/OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs index e657f32..e70cb91 100644 --- a/OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs +++ b/OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs | |||
@@ -106,8 +106,7 @@ namespace OpenSim.ScriptEngine.Components.DotNetEngine.Scheduler | |||
106 | 106 | ||
107 | if (item.Action == LoadUnloadStructure.LUType.Unload) | 107 | if (item.Action == LoadUnloadStructure.LUType.Unload) |
108 | { | 108 | { |
109 | m_log.DebugFormat("[{0}] Unloading script", Name); | 109 | _StopScript(item.Script.LocalID, item.Script.ItemID); |
110 | _StopScript(item.Script.LocalID, item.Script.ItemID); | ||
111 | RemoveScript(item.Script.LocalID, item.Script.ItemID); | 110 | RemoveScript(item.Script.LocalID, item.Script.ItemID); |
112 | } | 111 | } |
113 | else if (item.Action == LoadUnloadStructure.LUType.Load) | 112 | else if (item.Action == LoadUnloadStructure.LUType.Load) |
@@ -254,6 +253,8 @@ namespace OpenSim.ScriptEngine.Components.DotNetEngine.Scheduler | |||
254 | if (!TryGetScript(localID, itemID, ref ss)) | 253 | if (!TryGetScript(localID, itemID, ref ss)) |
255 | return; | 254 | return; |
256 | 255 | ||
256 | m_log.DebugFormat("[{0}] Unloading script", Name); | ||
257 | |||
257 | // Stop long command on script | 258 | // Stop long command on script |
258 | //AsyncCommandManager.RemoveScript(ss); | 259 | //AsyncCommandManager.RemoveScript(ss); |
259 | 260 | ||