From 6985d63bfa3c64ccaa1c2949fe1cfefd0c7f2bbc Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Sun, 31 May 2020 13:38:41 -0400 Subject: [PATCH] DmbFactory commit fix --- .../Components/Deployment/DmbFactory.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs b/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs index 978586af70..113dbaa3ad 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs @@ -141,8 +141,11 @@ namespace Tgstation.Server.Host.Components.Deployment { nextDmbProvider?.Dispose(); nextDmbProvider = newProvider; - newerDmbTcs.SetResult(nextDmbProvider); + + // Oh god dammit + var temp = newerDmbTcs; newerDmbTcs = new TaskCompletionSource(); + temp.SetResult(nextDmbProvider); } }