mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Remove life cycle observers
This commit is contained in:
@@ -138,6 +138,7 @@ public class AdapterLog extends RecyclerView.Adapter<AdapterLog.ViewHolder> {
|
||||
public void onDestroyed() {
|
||||
Log.d(AdapterLog.this + " parent destroyed");
|
||||
AdapterLog.this.parentFragment = null;
|
||||
owner.getLifecycle().removeObserver(this);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user