mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 01:21:11 +01:00
Cleanup task state
This commit is contained in:
@@ -263,6 +263,9 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
}
|
||||
|
||||
private void cleanup(Context context) {
|
||||
started = 0;
|
||||
reported = false;
|
||||
interrupted = false;
|
||||
future = null;
|
||||
synchronized (tasks) {
|
||||
tasks.remove(this);
|
||||
|
||||
Reference in New Issue
Block a user