[core] abort current parse when we get a new NotFound response

This commit is contained in:
Konstantin Käfer
2016-01-07 12:38:24 +01:00
parent 01f31a82a8
commit 40e908677e

View File

@@ -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();