Nullify SystemDManager

This commit is contained in:
Jordan Dominion
2023-11-24 10:02:14 -05:00
parent 52d8d04f5a
commit a01173ebc7
@@ -11,8 +11,6 @@ using Mono.Unix;
using Tgstation.Server.Host.Components;
using Tgstation.Server.Host.Core;
#nullable disable
namespace Tgstation.Server.Host.System
{
/// <summary>
@@ -88,7 +86,7 @@ namespace Tgstation.Server.Host.System
}
/// <inheritdoc />
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;