commit cover every 100 songs on loading
This commit is contained in:
1 parent
5388b6f816
commit
03b18f04d9
1 file changed
+3
@@ -1050,7 +1050,10 @@ namespace Vocaluxe.Base
|
|||||||
_CoverLoadIndex++;
|
_CoverLoadIndex++;
|
||||||
|
|
||||||
if (i % 100 == 0)
|
if (i % 100 == 0)
|
||||||
|
{
|
||||||
|
CDataBase.CommitCovers();
|
||||||
GC.Collect();
|
GC.Collect();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_CoverLoaded = true;
|
_CoverLoaded = true;
|
||||||
|
|||||||
Reference in new issue
Block a user