Ensure consistency by using ConcurrentList (fixes #36)

This commit is contained in:
Matt Nadareski
2021-07-18 21:00:01 -07:00
parent 2dc6dea0e7
commit 5d9ec18877
33 changed files with 289 additions and 122 deletions

View File

@@ -118,7 +118,7 @@ namespace SabreTools.Filtering
continue;
// Get the list of DatItems for the machine
List<DatItem> datItems = datFile.Items[machine];
ConcurrentList<DatItem> datItems = datFile.Items[machine];
// Try to get the map values, if possible
combinedMachineMaps.TryGetValue(machine, out Dictionary<MachineField, string> machineMappings);