From 27942e1e0d06e48252a950ab5315f5a2e7507286 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 4 Jun 2021 14:44:23 +0200 Subject: [PATCH] Force close folders --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 54ce4c2f1e..6ec0ecd092 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -2020,7 +2020,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences db.folder().setFolderState(folder.id, "closing"); try { if (iservice.getStore().isConnected()) - mapFolders.get(folder).close(); + mapFolders.get(folder).forceClose(); } catch (Throwable ex) { Log.w(ex); }