diff --git a/src/Tgstation.Server.Host.Console/Program.cs b/src/Tgstation.Server.Host.Console/Program.cs index b407ddbcb1..4bdac33a6d 100644 --- a/src/Tgstation.Server.Host.Console/Program.cs +++ b/src/Tgstation.Server.Host.Console/Program.cs @@ -1,5 +1,4 @@ using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Logging.Console; using System.Collections.Generic; using System.Threading.Tasks; using Tgstation.Server.Host.Watchdog; diff --git a/src/Tgstation.Server.Host.Watchdog/IsolatedServerFactory.cs b/src/Tgstation.Server.Host.Watchdog/IsolatedServerFactory.cs index 654577329b..14bae38479 100644 --- a/src/Tgstation.Server.Host.Watchdog/IsolatedServerFactory.cs +++ b/src/Tgstation.Server.Host.Watchdog/IsolatedServerFactory.cs @@ -63,7 +63,7 @@ namespace Tgstation.Server.Host.Watchdog return serverFactory.CreateServer(args, updatePath); } - //honestly have no idea what this is for, but the examples i see just return null and it seems to work just fine + //honestly have no idea what this is for, https://github.com/dotnet/coreclr/blob/master/Documentation/design-docs/assemblyloadcontext.md /// protected override Assembly Load(AssemblyName assemblyName) => null; } diff --git a/src/Tgstation.Server.Host.Watchdog/Watchdog.cs b/src/Tgstation.Server.Host.Watchdog/Watchdog.cs index a481118eef..6ef0b74b74 100644 --- a/src/Tgstation.Server.Host.Watchdog/Watchdog.cs +++ b/src/Tgstation.Server.Host.Watchdog/Watchdog.cs @@ -4,14 +4,12 @@ using System.IO; using System.Reflection; using System.Threading; using System.Threading.Tasks; -using Tgstation.Server.Host.Startup; namespace Tgstation.Server.Host.Watchdog { /// sealed class Watchdog : IWatchdog { - /// /// The for the /// diff --git a/tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs b/tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs index 6a8eb5d68a..da80b4917b 100644 --- a/tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs +++ b/tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs @@ -16,7 +16,9 @@ namespace Tgstation.Server.Host.Core.Tests public Task ApplyUpdate(byte[] updateZipData, IIOManager ioManager, CancellationToken cancellationToken) => throw new NotImplementedException(); public void RegisterForUpdate(Action action) => throw new NotImplementedException(); - + + public void Restart() => throw new NotImplementedException(); + [TestMethod] public async Task TestSuccessfulStartup() {