opt: 内存泄漏问题

This commit is contained in:
wangcongtao
2020-10-13 16:36:34 +08:00
parent 0b7468a8a8
commit 6e48407020

View File

@@ -187,6 +187,8 @@ class V2XEventPanelFragment : MvpFragment<V2XEventPanelFragment, EventPanelPrese
override fun onDestroyView() {
mediator?.detach()
// 避免内存泄漏
fragment = null
super.onDestroyView()
}