mapbox-maps-flutter icon indicating copy to clipboard operation
mapbox-maps-flutter copied to clipboard

Map events race condition fix

Open evil159 opened this issue 1 year ago • 0 comments

What does this pull request do?

Fixes race condition in events when method call to subscribe to map events from dart side was competing with early map events. The fix is to pass event types upon map widget initialization.

What is the motivation and context behind this change?

Bugfix.

Pull request checklist:

  • [ ] Add a changelog entry.
  • [ ] Write tests for all new functionality. If tests were not written, please explain why.
  • [ ] Add documentation comments for any added or updated public APIs.

evil159 avatar May 08 '24 12:05 evil159