Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
code-surf opened this issue Oct 10, 2024 · 1 comment
Open

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

code-surf opened this issue Oct 10, 2024 · 1 comment
Labels
bug 🪲 Something is broken!

Comments

@code-surf
Copy link

Environment

  • Xcode version: 15.4
  • iOS version: 17.4
  • Devices affected: all of them
  • Maps SDK Version: 11.6.1

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: mapbox/mapbox-maps-android#2232

@code-surf code-surf added the bug 🪲 Something is broken! label Oct 10, 2024
@pjleonard37
Copy link
Contributor

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:

  • Under which conditions do you see this error?
    • Could you provide a simple sample project which reproduces this issue?
  • Are you using annotation managers in your implementation?
  • Did you upgrade directly from v10 to v11.6.1, or did you notice this when upgrading from one Mapbox v11 version to another?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something is broken!
Projects
None yet
Development

No branches or pull requests

2 participants