mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 00:50:45 +01:00
More fixes
This commit is contained in:
@@ -451,7 +451,6 @@ namespace Tgstation.Server.Host.Components.Deployment
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
logger.LogDebug("Cleaning up failed compile due to exception: {0}", e);
|
||||
await CleanupFailedCompile(job, e is OperationCanceledException, cancellationToken).ConfigureAwait(false);
|
||||
throw;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Tgstation.Server.Host.Components.Watchdog
|
||||
if (!runtimeInformation.SecurityLevel.HasValue)
|
||||
throw new ArgumentException("runtimeInformation must have a valid SecurityLevel!", nameof(runtimeInformation));
|
||||
|
||||
LaunchSecurityLevel = runtimeInformation.SecurityLevel.Value;
|
||||
base.LaunchSecurityLevel = runtimeInformation.SecurityLevel.Value;
|
||||
Port = port;
|
||||
IsPrimary = isPrimary;
|
||||
|
||||
|
||||
@@ -242,6 +242,7 @@ namespace Tgstation.Server.Host.Components.Watchdog
|
||||
}
|
||||
catch
|
||||
{
|
||||
process.Terminate();
|
||||
process.Dispose();
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user