diff --git a/TGServerService/DreamDaemon.cs b/TGServerService/DreamDaemon.cs index a53f4dae7a..fd61c43571 100644 --- a/TGServerService/DreamDaemon.cs +++ b/TGServerService/DreamDaemon.cs @@ -77,6 +77,8 @@ namespace TGServerService { lock (watchdogLock) { + if (currentStatus != TGDreamDaemonStatus.Online) + return; AwaitingShutdown = true; } SendCommand(SCGracefulShutdown);