Skip to content

v4.2.2

Choose a tag to compare

@github-actions github-actions released this 12 Jul 01:13
· 11 commits to main since this release
d0ab8e7

🐞 Bug fixes

  • Android: fixed a native crash (SIGSEGV in OnlineFileSource) under heavy tile traffic β€” when an HTTP response arrived, the provider removed the request from its pending table before posting the callback onto the RunLoop. A request destroyed in that window (routine with many vector sources loading while panning/zooming or backgrounding the app, where superseded requests are constantly cancelled) couldn't be flagged as cancelled β€” its destructor found nothing to mark β€” so the already-posted callback ran against the freed OnlineFileRequest and crashed in mbgl::util::Timer. The pending entry now stays registered until the callback actually executes, and the posted closure re-checks the cancelled flag (it runs on the same RunLoop thread as the request's destructor, making the check decisive).
  • Manually opened attribution stays open long enough to read β€” tapping the collapsed β“˜ chip now pins the banner on every platform: on Android/iOS camera motion no longer collapses it instantly (with GPS-follow active the camera eases on every fix, which swatted the banner shut the moment it opened), and on all platforms (Android, iOS/MacCatalyst, WinUI, WPF) a manually opened banner gets a longer 10 s auto-collapse instead of the standard 5 s. Automatic expansions (style load, attribution content changes) keep the existing behaviour.