mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-19 10:25:29 +00:00
Request garbage collect after operations
This commit is contained in:
parent
8f139d99f1
commit
ebe9102877
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue