mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Debug log
This commit is contained in:
@@ -147,6 +147,7 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
LifecycleObserver watcher = new LifecycleObserver() {
|
||||
@OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
|
||||
public void onDestroy() {
|
||||
EntityLog.log(context, EntityLog.Type.Debug, "Cancelling task=" + name);
|
||||
cancel(context);
|
||||
owner.getLifecycle().removeObserver(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user