From 9e3bfe141ab367f449096fd3f5d66947114204ea Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 12 Sep 2022 07:52:11 +0200 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/Core.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 29c4c5b3a7..0e145d9507 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -6117,6 +6117,8 @@ class Core { return true; if (!running) return false; + if (thread == null) + return false; return thread.isAlive(); }