forked from mirror/monocles_chat
This may help the leak also
(cherry picked from commit abb31b57b1750d6135d949489a697fb548a9cafc)
This commit is contained in:
parent
43d8ad4af7
commit
7f17673997
1 changed files with 1 additions and 0 deletions
|
@ -1851,6 +1851,7 @@ public class ConversationFragment extends XmppFragment
|
|||
messageListAdapter.setOnMessageBoxClicked(null);
|
||||
messageListAdapter.setOnMessageBoxSwiped(null);
|
||||
binding.conversationViewPager.setAdapter(null);
|
||||
binding.messagesView.setOnScrollListener(null);
|
||||
unregisterForContextMenu(binding.messagesView);
|
||||
unregisterForContextMenu(binding.textSendButton);
|
||||
if (conversation != null) conversation.setupViewPager(null, null, false, null);
|
||||
|
|
Loading…
Add table
Reference in a new issue