Sync garbage collect

This commit is contained in:
M66B 2021-03-04 22:07:39 +01:00
parent be68c263ad
commit 6e675c19aa
1 changed files with 4 additions and 0 deletions

View File

@ -326,7 +326,9 @@ class Core {
break;
case EntityOperation.SYNC:
Runtime.getRuntime().gc();
onSynchronizeMessages(context, jargs, account, folder, (POP3Folder) ifolder, (POP3Store) istore, state);
Runtime.getRuntime().gc();
break;
case EntityOperation.PURGE:
@ -404,7 +406,9 @@ class Core {
break;
case EntityOperation.SYNC:
Runtime.getRuntime().gc();
onSynchronizeMessages(context, jargs, account, folder, (IMAPStore) istore, (IMAPFolder) ifolder, state);
Runtime.getRuntime().gc();
break;
case EntityOperation.SUBSCRIBE: