Keep updating until all the tiles are State::parsed

This is needed because of a race that can occur now that we
requests Glyphs from the Map Thread:

The glyph might arrive at the moment a tile is being parsed
and they won't be notified again of any new data, remaining
forever at the partial state.
This commit is contained in:
Thiago Marcos P. Santos
2015-07-15 16:10:09 +03:00
parent 7d4349e308
commit c6e58515fc
5 changed files with 2 additions and 19 deletions

View File

@@ -44,11 +44,6 @@ Bucket* TileWorker::getBucket(const StyleLayer& layer) const {
return it->second.get();
}
size_t TileWorker::countBuckets() const {
std::lock_guard<std::mutex> lock(bucketsMutex);
return buckets.size();
}
TileParseResult TileWorker::parse(const GeometryTile& geometryTile) {
partialParse = false;