Wait for a a synchronous task

This commit is contained in:
Jordan Brown
2021-07-11 14:03:01 -04:00
parent 84a8e2f4b3
commit 2d0db6c71d
@@ -105,7 +105,8 @@ namespace Tgstation.Server.Host.Components.Watchdog
}
catch
{
_ = DisposeAsync();
// synchronous
DisposeAsync().AsTask().Wait();
throw;
}
}