2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-01 06:35:09 +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) removePluginsChangedListener(pluginsChangedListener)
removePairingCallback(pairingCallback) removePairingCallback(pairingCallback)
} }
device = null
pairingBinding = null pairingBinding = null
errorBinding = null errorBinding = null
deviceBinding = null deviceBinding = null