diff options
author | lbsa71 | 2008-03-18 13:39:29 +0000 |
---|---|---|
committer | lbsa71 | 2008-03-18 13:39:29 +0000 |
commit | 9c428d993504afbda5d11dd644fe1694cc1aee95 (patch) | |
tree | 7e4f2dd9f19cb11167e2819f463db3b016cc8654 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase | |
parent | * Remove unused (and somewhat nonsensical) method in PhysicsActor (diff) | |
download | opensim-SC_OLD-9c428d993504afbda5d11dd644fe1694cc1aee95.zip opensim-SC_OLD-9c428d993504afbda5d11dd644fe1694cc1aee95.tar.gz opensim-SC_OLD-9c428d993504afbda5d11dd644fe1694cc1aee95.tar.bz2 opensim-SC_OLD-9c428d993504afbda5d11dd644fe1694cc1aee95.tar.xz |
* Applied Grumly57 patch for #781; Thanks, Grumly!
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AppDomainManager.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AppDomainManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AppDomainManager.cs index 49f83c1..41100c9 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AppDomainManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AppDomainManager.cs | |||
@@ -173,15 +173,15 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
173 | { | 173 | { |
174 | // Remove from internal list | 174 | // Remove from internal list |
175 | appDomains.Remove(ads); | 175 | appDomains.Remove(ads); |
176 | #if DEBUG | 176 | //#if DEBUG |
177 | Console.WriteLine("Found empty AppDomain, unloading"); | 177 | //Console.WriteLine("Found empty AppDomain, unloading"); |
178 | long m = GC.GetTotalMemory(true); | 178 | //long m = GC.GetTotalMemory(true); // This force a garbage collect that freezes some windows plateforms |
179 | #endif | 179 | //#endif |
180 | // Unload | 180 | // Unload |
181 | AppDomain.Unload(ads.CurrentAppDomain); | 181 | AppDomain.Unload(ads.CurrentAppDomain); |
182 | #if DEBUG | 182 | //#if DEBUG |
183 | m_scriptEngine.Log.Info("[" + m_scriptEngine.ScriptEngineName + "]: AppDomain unload freed " + (m - GC.GetTotalMemory(true)) + " bytes of memory"); | 183 | //m_scriptEngine.Log.Info("[" + m_scriptEngine.ScriptEngineName + "]: AppDomain unload freed " + (m - GC.GetTotalMemory(true)) + " bytes of memory"); |
184 | #endif | 184 | //#endif |
185 | } | 185 | } |
186 | } | 186 | } |
187 | } | 187 | } |