Since WatchOS11 I also experience this. Only by setting the newLocation to my Published var location will cause the leak.
inline-code
func update(newLocation: CLLocation){
// print("new location (location)")
if (self.locationFix == false) {
self.locationFix = true
}
location = newLocation
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
if let location = locations.last {
self.update(newLocation: location)
}
}
Post
Replies
Boosts
Views
Activity
I am still experiencing this issue with the latest Beta.
I'm getting 1 star reviews which is very annoying.