[core] GeometryTile and TileLoader keep strong reference to FileSource
Thus we fix a potential bug: if `Renderer` outlives the `Map` it will hold a stale reference to the `FileSource` instance.
This commit is contained in:
@@ -63,7 +63,7 @@ void Map::Impl::onUpdate() {
|
||||
style->impl->getSourceImpls(),
|
||||
style->impl->getLayerImpls(),
|
||||
annotationManager,
|
||||
*fileSource,
|
||||
fileSource,
|
||||
prefetchZoomDelta,
|
||||
bool(stillImageRequest),
|
||||
crossSourceCollisions
|
||||
|
||||
Reference in New Issue
Block a user