mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Request garbage collect after operations
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user