[DatFile] Forgot about locks

This commit is contained in:
Matt Nadareski
2017-03-18 12:35:10 -07:00
parent 6263b5275f
commit 2644b07ff0

View File

@@ -195,7 +195,11 @@ namespace SabreTools.Helper.Dats
} }
} }
newitems.Add(item); // Lock the list and add the item back
lock (newitems)
{
newitems.Add(item);
}
} }
}); });