Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Fix MGLMapSnapshotter concurrency bugs (issue #11827). #11831

Merged
merged 6 commits into from
Jun 4, 2018

Commits on Jun 1, 2018

  1. [ios, macos] Fix MGLMapSnapshotter concurrency bugs (issue #11827).

    - Biggest change: when we apply the watermark on a background thread, don't capture self (turn most of the related instance methods into class methods)
    - Don't call mbglMapSnapshotter->snapshot from a user-provided queue, since it's an asynchronous call anyway and starting it on the user's queue requires capturing self.
    ChrisLoer committed Jun 1, 2018
    Configuration menu
    Copy the full SHA
    2c40d8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb39d71 View commit details
    Browse the repository at this point in the history
  3. [ios, macos] Raise exception if MGLMapSnapshotter is used from thread…

    … without active run loop.
    Julian Rex authored and ChrisLoer committed Jun 1, 2018
    Configuration menu
    Copy the full SHA
    adcb935 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b22c6b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    501a819 View commit details
    Browse the repository at this point in the history
  6. [test,ios] Disable multiple mapsnapshotter test.

    8 simultaneous mapsnapshotter test periodically deadlocks in simulator.
    Also, increase timeouts to decrease chance of spurious test failure.
    ChrisLoer committed Jun 1, 2018
    Configuration menu
    Copy the full SHA
    4f1360c View commit details
    Browse the repository at this point in the history