fix: add onDestroyView() to release fragment resources

This commit is contained in:
andrekir 2023-04-03 18:03:55 -03:00
parent 4dec73ea76
commit b3d581486a
7 changed files with 40 additions and 0 deletions

View file

@ -51,4 +51,9 @@ class DebugFragment : Fragment() {
logs?.let { adapter.setLogs(it) }
}
}
override fun onDestroyView() {
super.onDestroyView()
_binding = null
}
}