diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-01-07 12:38:24 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-01-15 12:48:24 +0100 |
commit | 40e908677e58f186d13ef9a33d2dcde396390ac4 (patch) | |
tree | 25586e9d59e969f7bd952b043481fb4c2dd29154 /src | |
parent | 01f31a82a8be87b25ea3b466a9248e2344fb52ff (diff) | |
download | qtlocation-mapboxgl-40e908677e58f186d13ef9a33d2dcde396390ac4.tar.gz |
[core] abort current parse when we get a new NotFound response
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/map/vector_tile_data.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/map/vector_tile_data.cpp b/src/mbgl/map/vector_tile_data.cpp index 4bf686b732..386efe1afa 100644 --- a/src/mbgl/map/vector_tile_data.cpp +++ b/src/mbgl/map/vector_tile_data.cpp @@ -46,6 +46,7 @@ VectorTileData::VectorTileData(const TileID& id_, if (!tile) { // This is a 404 response. We're treating these as empty tiles. + workRequest.reset(); state = State::parsed; buckets.clear(); callback(); |