diff --git a/build/Version.props b/build/Version.props index 79032aba9b..34d28b5b29 100644 --- a/build/Version.props +++ b/build/Version.props @@ -3,7 +3,7 @@ - 6.3.0 + 6.3.1 5.1.0 10.2.0 7.0.0 diff --git a/src/Tgstation.Server.Host/Utils/SignalR/ComprehensiveHubContext.cs b/src/Tgstation.Server.Host/Utils/SignalR/ComprehensiveHubContext.cs index d9c32143ce..b47f17d57b 100644 --- a/src/Tgstation.Server.Host/Utils/SignalR/ComprehensiveHubContext.cs +++ b/src/Tgstation.Server.Host/Utils/SignalR/ComprehensiveHubContext.cs @@ -147,8 +147,9 @@ namespace Tgstation.Server.Host.Utils.SignalR return old; }); - foreach (var context in connections!) - context.Abort(); + if (connections != null) + foreach (var context in connections) + context.Abort(); } } } diff --git a/tests/Tgstation.Server.Tests/Live/Instance/ChatTest.cs b/tests/Tgstation.Server.Tests/Live/Instance/ChatTest.cs index abb699815e..1dcfd368da 100644 --- a/tests/Tgstation.Server.Tests/Live/Instance/ChatTest.cs +++ b/tests/Tgstation.Server.Tests/Live/Instance/ChatTest.cs @@ -6,6 +6,8 @@ using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; +using Newtonsoft.Json; + using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Request; using Tgstation.Server.Api.Models.Response; @@ -196,7 +198,7 @@ namespace Tgstation.Server.Tests.Live.Instance .OrderBy(x => x.StartedAt) .FirstOrDefault(); - Assert.IsNotNull(reconnectJob); + Assert.IsNotNull(reconnectJob, $"Jobs: {JsonConvert.SerializeObject(jobs)}"); await WaitForJob(reconnectJob, 60, false, null, cancellationToken); var channelIdStr = Environment.GetEnvironmentVariable("TGS_TEST_DISCORD_CHANNEL");