mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 14:37:44 +01:00
Calling RequestStop will no longer have an effect if the server isn't running (#21)
This commit is contained in:
@@ -77,6 +77,8 @@ namespace TGServerService
|
||||
{
|
||||
lock (watchdogLock)
|
||||
{
|
||||
if (currentStatus != TGDreamDaemonStatus.Online)
|
||||
return;
|
||||
AwaitingShutdown = true;
|
||||
}
|
||||
SendCommand(SCGracefulShutdown);
|
||||
|
||||
Reference in New Issue
Block a user