From 40a0f4c4af339bb55c6e7200fdc4db444708c0fd Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Sat, 31 Jul 2021 20:06:13 +0200 Subject: [PATCH] prevent memory leaks --- .../pump/omnipod/dash/ui/OmnipodDashOverviewFragment.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/ui/OmnipodDashOverviewFragment.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/ui/OmnipodDashOverviewFragment.kt index 066e5644f6..c2b0493363 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/ui/OmnipodDashOverviewFragment.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/ui/OmnipodDashOverviewFragment.kt @@ -218,6 +218,9 @@ class OmnipodDashOverviewFragment : DaggerFragment() { override fun onDestroyView() { super.onDestroyView() _binding = null + _bluetoothStatusBinding = null + _buttonBinding = null + _podInfoBinding = null } private fun updateUi() {