Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cancel QgsVectorLayerFeatureCounter on QGsVectorLayer destroy
  • Loading branch information
rldhont committed Sep 19, 2017
1 parent b53e986 commit 899e872
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsvectorlayer.cpp
Expand Up @@ -194,6 +194,9 @@ QgsVectorLayer::~QgsVectorLayer()

delete mRenderer;
delete mConditionalStyles;

if ( mFeatureCounter )
mFeatureCounter->cancel();
}

QgsVectorLayer *QgsVectorLayer::clone() const
Expand Down

0 comments on commit 899e872

Please sign in to comment.