Fix GameController exception logging memory leak in tests.

This commit is contained in:
Pieter-Jan Briers
2022-12-10 12:27:23 +01:00
parent 509aca8c03
commit 55fd79eb36
2 changed files with 34 additions and 22 deletions

View File

@@ -828,7 +828,10 @@ namespace Robust.UnitTesting
client.OverrideMainLoop(GameLoop);
client.ContentStart = Options?.ContentStart ?? false;
client.StartupSystemSplash(clientOptions, () => new TestLogHandler(cfg, "CLIENT"));
client.StartupSystemSplash(
clientOptions,
() => new TestLogHandler(cfg, "CLIENT"),
globalExceptionLog: false);
client.StartupContinue(GameController.DisplayMode.Headless);
GameLoop.RunInit();