diff options
author | Chris Loer <chris.loer@gmail.com> | 2018-06-01 15:12:52 -0700 |
---|---|---|
committer | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2018-06-07 17:43:41 -0400 |
commit | 8118cb55037a99c22fdf86a3e7dba0398cba38eb (patch) | |
tree | 198cb6516fa1c4c1e1fa138765828bc2d602b000 /src | |
parent | 81179fb05e6de75e9f00e5f34d2feb2999ffb12a (diff) | |
download | qtlocation-mapboxgl-8118cb55037a99c22fdf86a3e7dba0398cba38eb.tar.gz |
[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.
# Conflicts:
# platform/darwin/src/MGLMapSnapshotter.mm
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions