Fixed task count

pull/199/head
M66B 3 years ago
parent 7970ff9a31
commit 635115730a

@ -139,8 +139,6 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
tasks.add(this);
}
updateTaskCount(context);
try {
onPreExecute(args);
} catch (Throwable ex) {
@ -253,6 +251,8 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
});
}
});
updateTaskCount(context);
}
void cancel(Context context) {

Loading…
Cancel
Save