commit cover every 100 songs on loading

This commit is contained in:
Alexander Eckart committed 2013-01-04 12:09:51 +01:00
1 parent 5388b6f816
commit 03b18f04d9
1 file changed
+3
+3
View File
@@ -1050,7 +1050,10 @@ namespace Vocaluxe.Base
_CoverLoadIndex++;
if (i % 100 == 0)
{
CDataBase.CommitCovers();
GC.Collect();
}
}
_CoverLoaded = true;