mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Fix detaching message showing twice
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user