From e56f918b17a3341edc54ab5f26455837f526e706 Mon Sep 17 00:00:00 2001 From: idb Date: Fri, 5 Dec 2008 12:30:50 +0000 Subject: Mantis #2350 Move the DotNetEngine Unloading script debug message --- OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index f9f6401..2631867 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs @@ -258,6 +258,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine if (id == null) return; + m_scriptEngine.Log.DebugFormat("[{0}]: Unloading script", + m_scriptEngine.ScriptEngineName); + // Stop long command on script AsyncCommandManager.RemoveScript(m_scriptEngine, localID, itemID); @@ -371,8 +374,6 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine if (item.Action == LUType.Unload) { - m_scriptEngine.Log.DebugFormat("[{0}]: Unloading script", - m_scriptEngine.ScriptEngineName); _StopScript(item.localID, item.itemID); RemoveScript(item.localID, item.itemID); } -- cgit v1.1