prevent memory leaks

This commit is contained in:
Andrei Vereha 2021-07-31 20:06:13 +02:00
parent 97b2287282
commit 40a0f4c4af

View file

@ -218,6 +218,9 @@ class OmnipodDashOverviewFragment : DaggerFragment() {
override fun onDestroyView() {
super.onDestroyView()
_binding = null
_bluetoothStatusBinding = null
_buttonBinding = null
_podInfoBinding = null
}
private fun updateUi() {