Commit 09667d3f by fengquan

fix: 修复聊天页面退出崩溃问题

parent 38678631
...@@ -1096,8 +1096,10 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy { ...@@ -1096,8 +1096,10 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
comment_banner_view.onDestory(); comment_banner_view.onDestory();
EventBus.getDefault().unregister(this); EventBus.getDefault().unregister(this);
super.onDestroy(); super.onDestroy();
serviceItemBeanList.clear(); if (serviceItemBeanList != null) {
serviceItemBeanList = null; serviceItemBeanList.clear();
serviceItemBeanList = null;
}
messageListPanel.onDestroy(); messageListPanel.onDestroy();
registerObservers(false); registerObservers(false);
if (inputPanel != null) { if (inputPanel != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment