mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 08:00:19 +01:00
Nullify SystemDManager
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user