1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 22:21:18 +00:00

Force recycle views on destroy

This commit is contained in:
M66B 2024-02-13 18:53:16 +01:00
parent 21a9bc0d91
commit 4f1fcadeb5

View file

@ -5653,6 +5653,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
public void onDestroyed() {
try {
onViewRecycled(ViewHolder.this);
dialog.dismiss();
owner.getLifecycle().removeObserver(this);
} catch (Throwable ex) {