fix validation errors freezing initialization

This commit is contained in:
RaidMax 2022-02-15 20:23:16 -06:00
parent ea18a286b2
commit 51667159a2

View File

@ -113,10 +113,11 @@ namespace IW4MAdmin.Application
var tasks = new[] var tasks = new[]
{ {
versionChecker.CheckVersion(), versionChecker.CheckVersion(),
_serverManager.Init(),
_applicationTask _applicationTask
}; };
await _serverManager.Init();
await Task.WhenAll(tasks); await Task.WhenAll(tasks);
} }