From 021f6e6f0f43042020b49ebcbfc714358771e761 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Tue, 25 Sep 2018 21:57:28 -0400 Subject: [PATCH] Fix detaching message showing twice --- src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs b/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs index b141505e7e..6799fafd80 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs @@ -863,7 +863,6 @@ namespace Tgstation.Server.Host.Components.Watchdog { if (releaseServers && Running) { - var chatTask = chat.SendWatchdogMessage("Detaching...", cancellationToken); await StopMonitor().ConfigureAwait(false); var reattachInformation = new WatchdogReattachInformation @@ -873,7 +872,6 @@ namespace Tgstation.Server.Host.Components.Watchdog reattachInformation.Alpha = alphaServer?.Release(); reattachInformation.Bravo = bravoServer?.Release(); await reattachInfoHandler.Save(reattachInformation, cancellationToken).ConfigureAwait(false); - await chatTask.ConfigureAwait(false); } await Terminate(false, cancellationToken).ConfigureAwait(false); }