From a01173ebc73716845b8171df126aa315aeec8c60 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Thu, 23 Nov 2023 20:52:01 -0500 Subject: [PATCH] Nullify `SystemDManager` --- src/Tgstation.Server.Host/System/SystemDManager.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Tgstation.Server.Host/System/SystemDManager.cs b/src/Tgstation.Server.Host/System/SystemDManager.cs index 4e3b86972c..7b0542fcad 100644 --- a/src/Tgstation.Server.Host/System/SystemDManager.cs +++ b/src/Tgstation.Server.Host/System/SystemDManager.cs @@ -11,8 +11,6 @@ using Mono.Unix; using Tgstation.Server.Host.Components; using Tgstation.Server.Host.Core; -#nullable disable - namespace Tgstation.Server.Host.System { /// @@ -88,7 +86,7 @@ namespace Tgstation.Server.Host.System } /// - public ValueTask HandleRestart(Version updateVersion, bool handlerMayDelayShutdownWithExtremelyLongRunningTasks, CancellationToken cancellationToken) + public ValueTask HandleRestart(Version? updateVersion, bool handlerMayDelayShutdownWithExtremelyLongRunningTasks, CancellationToken cancellationToken) { // If this is set, we know a gracefule SHUTDOWN was requested restartInProgress = !handlerMayDelayShutdownWithExtremelyLongRunningTasks;