1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-20 10:55:29 +00:00

Request garbage collect after operations

This commit is contained in:
M66B 2020-10-31 12:05:09 +01:00
parent 8f139d99f1
commit ebe9102877

View file

@ -1444,6 +1444,12 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
}
db.folder().setFolderState(folder.id, null);
}
try {
System.gc();
} catch (Throwable ex) {
Log.e(ex);
}
}
} finally {
wlOperations.release();