diff --git a/src/Tgstation.Server.Host.Watchdog/Watchdog.cs b/src/Tgstation.Server.Host.Watchdog/Watchdog.cs index e03061afc7..1dbc341140 100644 --- a/src/Tgstation.Server.Host.Watchdog/Watchdog.cs +++ b/src/Tgstation.Server.Host.Watchdog/Watchdog.cs @@ -228,7 +228,7 @@ namespace Tgstation.Server.Host.Watchdog if (isWindows) { //windows dick sucking resource unlocking - GC.Collect(); + GC.Collect(Int32.MaxValue, GCCollectionMode.Default, true); await Task.Delay(TimeSpan.FromSeconds(5), cancellationToken).ConfigureAwait(false); } var tempPath = Path.Combine(assemblyStoragePath, Guid.NewGuid().ToString());