mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Remove problematic parallel code
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user