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

Invoke animator completion handlers added after completion or cancellation #1305

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

macdrevx
Copy link
Contributor

@macdrevx macdrevx commented Apr 27, 2022

  • Completion handlers added after an animator has already completed will
    now be invoked asynchronously on the main queue.
  • Fixes a crash that could occur when trying to add a completion handler
    to a BasicCameraAnimator that was created while animations were
    disabled.

Pull request checklist:

  • Write tests for all new functionality. If tests were not written, please explain why.
  • Describe the changes in this PR, especially public API changes.
  • Add a changelog entry to to bottom of the relevant section (typically the ## main heading near the top).
  • Review and agree to the Contributor License Agreement (CLA).

* Completion handlers added after an animator has already completed will
  now be invoked asynchronously on the main queue.

* Fixes a crash that could occur when trying to add a completion handler
  to a BasicCameraAnimator that was created while animations were
  disabled.
@@ -5,6 +5,7 @@ Mapbox welcomes participation and contributions from everyone.
## main

* Expose API to check whether an image exists in `Style`. ([#1297](https://github.com/mapbox/mapbox-maps-ios/pull/1297))
* Invoke animator completion handlers added after completion or cancellation. ([#1305])(https://github.com/mapbox/mapbox-maps-ios/pull/1305))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Invoke animator completion handlers added after completion or cancellation. ([#1305])(https://github.com/mapbox/mapbox-maps-ios/pull/1305))
* Invoke animator completion handlers added after completion or cancellation. ([#1305](https://github.com/mapbox/mapbox-maps-ios/pull/1305))

@macdrevx macdrevx merged commit e4cfb4d into main Apr 28, 2022
@macdrevx macdrevx deleted the fix/animator-crash branch April 28, 2022 14:54
OdNairy pushed a commit that referenced this pull request Aug 22, 2023
* Add codegen template for Lights
* Update codegen - add experimental flags for 3D lights
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants