repo git: turn off garbage collection by default
This commit is contained in:
parent
4eb8abad8d
commit
0167aef16a
|
@ -216,9 +216,10 @@ namespace SparkleLib {
|
|||
|
||||
SparkleHelpers.DebugInfo ("Commit", "[" + Name + "] " + message);
|
||||
|
||||
// Collect garbage pseudo-randomly
|
||||
if (DateTime.Now.Second % 10 == 0)
|
||||
CollectGarbage ();
|
||||
// Collect garbage pseudo-randomly. Turn off for
|
||||
// now: too resource heavy.
|
||||
// if (DateTime.Now.Second % 10 == 0)
|
||||
// CollectGarbage ();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue