mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
LiveLocationSharingViewerService: Nullify listenner when needed.
This commit is contained in:
+1
@@ -60,6 +60,7 @@ class LiveLocationSharingViewerService: LiveLocationSharingViewerServiceProtocol
|
||||
func stopListeningLiveLocationUpdates() {
|
||||
if let listener = beaconInfoSummaryListener {
|
||||
self.session.aggregations.removeListener(listener)
|
||||
self.beaconInfoSummaryListener = nil
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user