mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Don't run GC collect in startup in integration tests.
Oof.
This commit is contained in:
@@ -160,8 +160,11 @@ namespace Robust.Client
|
||||
|
||||
_authManager.LoadFromEnv();
|
||||
|
||||
GCSettings.LargeObjectHeapCompactionMode = GCLargeObjectHeapCompactionMode.CompactOnce;
|
||||
GC.Collect();
|
||||
if (_configurationManager.GetCVar(CVars.SysGCCollectStart))
|
||||
{
|
||||
GCSettings.LargeObjectHeapCompactionMode = GCLargeObjectHeapCompactionMode.CompactOnce;
|
||||
GC.Collect();
|
||||
}
|
||||
|
||||
// Setup main loop
|
||||
if (_mainLoop == null)
|
||||
|
||||
Reference in New Issue
Block a user