2
0

#14 temporary workaround for disposing tasks

This commit is contained in:
glax 2023-06-09 23:45:53 +02:00
parent ad43297358
commit 5763d50409

View File

@ -128,7 +128,7 @@ public class TaskManager
{
logger?.WriteLine(this.GetType().ToString(), $"Disposing failed task {removeTask.Key}.");
removeTask.Key.parentTask?.DecrementProgress(removeTask.Key.progress);
removeTask.Value.Dispose();;
//removeTask.Value.Dispose(); Currently not available, however since task is removed from _allTasks should work. Memory leak however...
toRemove.Add(removeTask.Key);
}
}