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