2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Remove reference to Device when the view is destroyed

This commit is contained in:
Albert Vaca Cintora
2023-05-25 02:41:09 +02:00
parent ae23413971
commit 40b05fbe8f

View File

@@ -151,6 +151,7 @@ class DeviceFragment : Fragment() {
removePluginsChangedListener(pluginsChangedListener)
removePairingCallback(pairingCallback)
}
device = null
pairingBinding = null
errorBinding = null
deviceBinding = null