mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-21 03:57:19 +01:00
Oh great... upstream bugs...
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
/// <inheritdoc />
|
||||
protected override Assembly Load(AssemblyName assemblyName) => null;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
{
|
||||
/// <inheritdoc />
|
||||
sealed class Watchdog : IWatchdog
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="IActiveLibraryDeleter"/> for the <see cref="Watchdog"/>
|
||||
/// </summary>
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user