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) {