Please sign in to comment.
QgsVectorLayerRenderer::drawRendererV2(): make it cancellable in all …
…situations Currently the mContext.renderingStopped() check is done only if the feature has a geometry. Which makes it possible to have really really long loops if a long series of features without geometries are returned by the feature iterator. This is perhaps not something that can happen in practice, but I hit that issue when prototyping my WFS asynchronous feature downloading that currently only returns dummy features. QGIS was completely blocked due to the iterator returning infinite geometry-less features.
- Loading branch information