Skip to content
Permalink
Browse files

Cancel QgsVectorLayerFeatureCounter on QGsVectorLayer destroy

  • Loading branch information
rldhont committed Aug 25, 2017
1 parent b53e986 commit 899e87233075da5d7c243899d26998c1e4a8b57d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsvectorlayer.cpp
@@ -194,6 +194,9 @@ QgsVectorLayer::~QgsVectorLayer()

delete mRenderer;
delete mConditionalStyles;

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

QgsVectorLayer *QgsVectorLayer::clone() const

0 comments on commit 899e872

Please sign in to comment.
You can’t perform that action at this time.