From 51667159a252f94c9f019876a221912c9c037877 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 15 Feb 2022 20:23:16 -0600 Subject: [PATCH] fix validation errors freezing initialization --- Application/Main.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Main.cs b/Application/Main.cs index b4cce2d41..441389ec7 100644 --- a/Application/Main.cs +++ b/Application/Main.cs @@ -113,10 +113,11 @@ namespace IW4MAdmin.Application var tasks = new[] { versionChecker.CheckVersion(), - _serverManager.Init(), _applicationTask }; + await _serverManager.Init(); + await Task.WhenAll(tasks); }