summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/layers/render_background_layer.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-08-05 14:32:37 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-08-05 16:15:45 +0200
commitc523391b2024bfa6ab5d60c8a86fe3bf735c588f (patch)
tree5d2ac9f31d721bfb545a179ffc239d7d9a3e6e8b /src/mbgl/renderer/layers/render_background_layer.cpp
parentc763c262c87a4ae76489e856cc58392c853372a1 (diff)
downloadqtlocation-mapboxgl-c523391b2024bfa6ab5d60c8a86fe3bf735c588f.tar.gz
[macos,ios] Fix rare crash when downloading tiles that returned a 404
We were capturing the reference to an object that could go away when the request was canceled. However, the lambda could still be invoked by NSURLSession, creating a race condition with a resulting crash when the response to a tile request was 404 Not Found.
Diffstat (limited to 'src/mbgl/renderer/layers/render_background_layer.cpp')
0 files changed, 0 insertions, 0 deletions