1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 23:00:57 -05:00

fix issues with last release

This commit is contained in:
RaidMax
2021-07-12 14:57:44 -05:00
parent 19b5c456a5
commit 14d5c15fce
4 changed files with 22 additions and 7 deletions

View File

@ -259,7 +259,11 @@ namespace IW4MAdmin.Application
{
try
{
await server.ProcessUpdatesAsync(_tokenSource.Token).WithWaitCancellation(runningUpdateTasks[server.EndPoint].tokenSource.Token);
if (runningUpdateTasks.ContainsKey(server.EndPoint))
{
await server.ProcessUpdatesAsync(_tokenSource.Token)
.WithWaitCancellation(runningUpdateTasks[server.EndPoint].tokenSource.Token);
}
}
catch (Exception e)