diff options
Diffstat (limited to 'OpenSim')
-rwxr-xr-x | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index a9e6132..3038915 100755 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -1280,7 +1280,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1280 | 1280 | ||
1281 | // do not load a assembly on top of a lot of to release memory | 1281 | // do not load a assembly on top of a lot of to release memory |
1282 | // also yield a bit | 1282 | // also yield a bit |
1283 | GC.Collect(2); | 1283 | // only if logins disable since causes a lot of rubber banding |
1284 | if(!m_Scene.LoginsEnabled) | ||
1285 | GC.Collect(2); | ||
1284 | 1286 | ||
1285 | ScriptInstance instance = null; | 1287 | ScriptInstance instance = null; |
1286 | lock (m_Scripts) | 1288 | lock (m_Scripts) |