mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Rely on count
This commit is contained in:
@@ -236,11 +236,8 @@ namespace SabreTools.Library.Dats
|
||||
interOutDir = Path.GetDirectoryName(Path.Combine(Environment.CurrentDirectory, splitpath[0].Remove(0, splitpath[1].Length + 1)));
|
||||
}
|
||||
|
||||
// Once we're done, we check to see if there's anything to write out
|
||||
if (intDat.Count > 0)
|
||||
{
|
||||
intDat.WriteToFile(interOutDir);
|
||||
}
|
||||
// Once we're done, try writing out
|
||||
intDat.WriteToFile(interOutDir);
|
||||
|
||||
// Due to possible memory requirements, we force a garbage collection
|
||||
GC.Collect();
|
||||
|
||||
Reference in New Issue
Block a user