Cleanup task state

pull/199/head
M66B 3 years ago
parent acc8ce884a
commit a0f41d59a4

@ -263,6 +263,9 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
} }
private void cleanup(Context context) { private void cleanup(Context context) {
started = 0;
reported = false;
interrupted = false;
future = null; future = null;
synchronized (tasks) { synchronized (tasks) {
tasks.remove(this); tasks.remove(this);

Loading…
Cancel
Save