mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-20 20:43:47 +01:00
Fix NullReferenceException
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Tgstation.Server.Host.IO
|
||||
* sure it works in SOME cases
|
||||
* i.e. win10 1803+ and IN DEVELOPER MODE
|
||||
* other times it throws ERROR_INVALID_PARAMETER
|
||||
* but the fucking worst is there is some configuration of windows that accept the argument and allow the function to succeed
|
||||
* but the fucking worst is there are some configurations of windows that accept the argument and allow the function to succeed
|
||||
* BUT IT DOESN'T CREATE THE FUCKING LINK
|
||||
* I AM NOT DEBUGGING THAT SHIT AGAIN AHHH
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Text;
|
||||
namespace Tgstation.Server.Host
|
||||
{
|
||||
/// <summary>
|
||||
/// Native methods used by the code
|
||||
/// Native Windows methods used by the code
|
||||
/// </summary>
|
||||
#pragma warning disable SA1600
|
||||
#pragma warning disable SA1602
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace Tgstation.Server.Tests.Instance
|
||||
|
||||
Assert.IsNotNull(newerCompileJob);
|
||||
Assert.AreNotEqual(initialCompileJob.Id, newerCompileJob.Id);
|
||||
Assert.AreEqual(DreamDaemonSecurity.Ultrasafe, daemonStatus.StagedCompileJob.MinimumSecurityLevel);
|
||||
Assert.AreEqual(DreamDaemonSecurity.Ultrasafe, newerCompileJob.MinimumSecurityLevel);
|
||||
|
||||
await TellWorldToReboot(cancellationToken);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user