Nullify IWatchdog

This commit is contained in:
Jordan Dominion
2023-12-23 23:37:14 -05:00
parent 9a3c0aaf82
commit b1878d697a
@@ -7,8 +7,6 @@ using Tgstation.Server.Api.Models.Internal;
using Tgstation.Server.Host.Components.Events;
using Tgstation.Server.Host.Components.Session;
#nullable disable
namespace Tgstation.Server.Host.Components.Watchdog
{
/// <summary>
@@ -34,7 +32,7 @@ namespace Tgstation.Server.Host.Components.Watchdog
/// <summary>
/// Retrieves the <see cref="Models.CompileJob"/> currently running on the server.
/// </summary>
Models.CompileJob ActiveCompileJob { get; }
Models.CompileJob? ActiveCompileJob { get; }
/// <summary>
/// The <see cref="DreamDaemonLaunchParameters"/> to be applied.
@@ -45,7 +43,7 @@ namespace Tgstation.Server.Host.Components.Watchdog
/// The <see cref="DreamDaemonLaunchParameters"/> the active server is using.
/// </summary>
/// <remarks>This may not be the exact same as <see cref="ActiveLaunchParameters"/> but still be associated with the same session.</remarks>
DreamDaemonLaunchParameters LastLaunchParameters { get; }
DreamDaemonLaunchParameters? LastLaunchParameters { get; }
/// <summary>
/// The <see cref="Session.RebootState"/> of the active server.