From 45a8371acfce0d9b4eca79e2c0da7ff8d7a2a9af Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Thu, 23 Nov 2023 18:54:18 -0500 Subject: [PATCH] Nullify `RestartRegistration` --- src/Tgstation.Server.Host/Core/RestartRegistration.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Tgstation.Server.Host/Core/RestartRegistration.cs b/src/Tgstation.Server.Host/Core/RestartRegistration.cs index d685fe590b..8f4ab937d6 100644 --- a/src/Tgstation.Server.Host/Core/RestartRegistration.cs +++ b/src/Tgstation.Server.Host/Core/RestartRegistration.cs @@ -1,7 +1,5 @@ using System; -#nullable disable - namespace Tgstation.Server.Host.Core { /// @@ -10,13 +8,13 @@ namespace Tgstation.Server.Host.Core /// /// The . /// - readonly Action onDispose; + readonly Action? onDispose; /// /// Initializes a new instance of the class. /// /// The value of . - public RestartRegistration(Action onDispose) + public RestartRegistration(Action? onDispose) { this.onDispose = onDispose; }