mapbox / mapbox-maps-ios

Interactive, thoroughly customizable maps for iOS powered by vector tiles and Metal
https://www.mapbox.com/mapbox-mobile-sdk
Other
482 stars 157 forks source link

Error called from a thread that is not owning the object #2251

Open code-surf opened 1 month ago

code-surf commented 1 month ago

Environment

Observed behavior and steps to reproduce

Calling any of the OfflineRegion functions triggers a warning:

Zrzut ekranu 2024-10-10 o 10 46 39

It's causing a significant downgrade in performance, causing the map to load 30 seconds instead of instantly.

Expected behavior

Not triggering the warning if it's not needed.

Notes / preliminary analysis

All calls are being made from main thread. This issue was not seen in mapbox 10. Perhaps it's connected with: https://github.com/mapbox/mapbox-maps-android/issues/2232

pjleonard37 commented 1 month ago

Hi @code-surf --

I checked our OfflineRegion implementation and do not see these errors on my side. We'll need some additional information to investigate this report. Please provide the following:

maios commented 2 weeks ago

@code-surf can you provide some updates regarding @pjleonard37 comment above?