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; }