From 2cfc34eaf0c49a9a8b85c526b48506a3a72d46b6 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 8 Feb 2020 12:28:37 +0100 Subject: [PATCH] Cleanup failed operations --- app/src/main/java/eu/faircode/email/Core.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 8a155d7ab8..7328d65094 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -493,6 +493,9 @@ class Core { } } + for (TupleOperationEx op : ops) + op.cleanup(context); + if (ops.size() > 0 && state.isRunning() && state.isRecoverable()) Log.e("Operations failed=" + ops.size());