mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 21:58:06 -05:00
fix bad key lookup in manager
This commit is contained in:
parent
6c5149adf1
commit
b784b2fdfb
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user