summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/LocationInfoCache.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/LocationInfoCache.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/LocationInfoCache.kt
index ad14c45c8e..cc325d3231 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/LocationInfoCache.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/LocationInfoCache.kt
@@ -90,6 +90,8 @@ class LocationInfoCache(
connectivityListener.connectivityNotifier.unsubscribe(this)
connectionProxy.onStateChange.unsubscribe(this)
fetchRequestChannel.close()
+
+ onNewLocation = null
}
private fun updateSelectedRelayLocation(relayItem: RelayItem?) {