From 3f4329612af16ec4d44432617c1173635275c52c Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 7 Dec 2021 10:41:49 +0100 Subject: [PATCH] Prevent multiple restarts --- app/src/main/java/eu/faircode/email/Core.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index aec4e98abb..164be5e651 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -5478,6 +5478,7 @@ class Core { void reset() { Thread.currentThread().interrupted(); // clear interrupted status + Log.i("Permits=" + semaphore.drainPermits()); recoverable = true; lastActivity = null; }