diff --git a/app/src/main/java/eu/faircode/email/SimpleTask.java b/app/src/main/java/eu/faircode/email/SimpleTask.java index c7bd82bebc..eaebd5caf2 100644 --- a/app/src/main/java/eu/faircode/email/SimpleTask.java +++ b/app/src/main/java/eu/faircode/email/SimpleTask.java @@ -408,7 +408,8 @@ public abstract class SimpleTask implements LifecycleObserver { @Override public void run() { try { - onProgress(status, data); + if (!destroyed) + onProgress(status, data); } catch (Throwable ex) { Log.e(ex); }