From f91fc8e982d0313a34267258db7b18ceeba04f5f Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sun, 16 Sep 2018 13:41:26 -0400 Subject: [PATCH] Clear LastLaunchParameters on Watchdog termination --- src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs b/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs index 6507c386f1..0a852be342 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs @@ -215,6 +215,7 @@ namespace Tgstation.Server.Host.Components.Watchdog var chatTask = announce ? chat.SendWatchdogMessage("Terminating...", cancellationToken) : Task.CompletedTask; await StopMonitor().ConfigureAwait(false); DisposeAndNullControllers(); + LastLaunchParameters = null; await chatTask.ConfigureAwait(false); return; }