Swift Task Continuation Misuse
follesoe opened this issue · comments
The following warning was printed when debugging the watchOS app, using the location manager. I need to figure out what I am doing wrong.
LocationManager.updateLocation
SWIFT TASK CONTINUATION MISUSE: updateLocation() leaked its continuation!
2022-12-25 20:50:35.052675+0100 Skredvarsel[61577:5512343] SWIFT TASK CONTINUATION MISUSE: updateLocation() leaked its continuation!
LocationManager.didUpdateLocations
LocationManager.updateLocation
Fixed by changing how region details where loaded.