aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule
diff options
context:
space:
mode:
authorUbitUmarov2016-12-29 00:47:02 +0000
committerUbitUmarov2016-12-29 00:47:02 +0000
commit7cf2e812233d767b5a3573b74792aa28d6d91988 (patch)
tree8475d1f82451fd1ee9e1abba8ae812ba90aeff46 /OpenSim/Region/OptionalModules/Scripting/RegionReadyModule
parentadjust camera collision detection checks for new FS (diff)
downloadopensim-SC-7cf2e812233d767b5a3573b74792aa28d6d91988.zip
opensim-SC-7cf2e812233d767b5a3573b74792aa28d6d91988.tar.gz
opensim-SC-7cf2e812233d767b5a3573b74792aa28d6d91988.tar.bz2
opensim-SC-7cf2e812233d767b5a3573b74792aa28d6d91988.tar.xz
reinforce gc.collect on region load to also do pending finalizers
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/RegionReadyModule')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
index 870c0bb..1725eb4 100644
--- a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
@@ -214,6 +214,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
214 m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue; 214 m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue;
215 m_scene.LoginLock = false; 215 m_scene.LoginLock = false;
216 216
217 GC.Collect();
218 GC.WaitForPendingFinalizers();
219 GC.Collect();
220
217 if (!m_scene.StartDisabled) 221 if (!m_scene.StartDisabled)
218 { 222 {
219 m_scene.LoginsEnabled = true; 223 m_scene.LoginsEnabled = true;