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

fix bad key lookup in manager

This commit is contained in:
RaidMax 2021-06-30 14:01:41 -05:00
parent 6c5149adf1
commit b784b2fdfb

View File

@ -240,7 +240,7 @@ namespace IW4MAdmin.Application
} }
// remove the update tasks as they have completed // remove the update tasks as they have completed
foreach (var serverId in serverTasksToRemove) foreach (var serverId in serverTasksToRemove.Where(serverId => runningUpdateTasks.ContainsKey(serverId)))
{ {
if (!runningUpdateTasks[serverId].tokenSource.Token.IsCancellationRequested) if (!runningUpdateTasks[serverId].tokenSource.Token.IsCancellationRequested)
{ {