opt: 内存泄漏问题
This commit is contained in:
@@ -187,6 +187,8 @@ class V2XEventPanelFragment : MvpFragment<V2XEventPanelFragment, EventPanelPrese
|
||||
|
||||
override fun onDestroyView() {
|
||||
mediator?.detach()
|
||||
// 避免内存泄漏
|
||||
fragment = null
|
||||
super.onDestroyView()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user