[DatFile] Remove problematic parallel code

This commit is contained in:
Matt Nadareski
2017-03-30 14:19:35 -07:00
parent 52471cf0e0
commit 855e5eefb5

View File

@@ -460,10 +460,10 @@ namespace SabreTools.Helper.Dats
lock (_files) lock (_files)
{ {
int count = 0; int count = 0;
Parallel.ForEach(_files.Keys, Globals.ParallelOptions, key => foreach (string key in _files.Keys)
{ {
count += _files[key].Count; count += _files[key].Count;
}); }
return count; return count;
} }