If "debug scene updates true" then print out to log when a garbage collection occurs.

This commit is contained in:
Justin Clark-Casey (justincc)
2012-03-21 02:02:14 +00:00
parent de53aa32e0
commit 54a8a5baba
2 changed files with 65 additions and 0 deletions

View File

@@ -1085,7 +1085,10 @@ namespace OpenSim.Region.Framework.Scenes
{
bool enableUpdateDebugging;
if (bool.TryParse(options["updates"], out enableUpdateDebugging))
{
DebugUpdates = enableUpdateDebugging;
GcNotify.Enabled = DebugUpdates;
}
}
}