Skip to content
Permalink
Browse files
reduce race condition
  • Loading branch information
tomtor committed Dec 1, 2015
1 parent 188625c commit e60c9de
Showing 1 changed file with 1 addition and 1 deletion.
@@ -153,7 +153,6 @@ QgsAbstractFeatureSource* QgsWFSProvider::featureSource() const

void QgsWFSProvider::reloadData()
{
mPendingRetrieval = false;
if (mCached)
deleteData();
delete mSpatialIndex;
@@ -162,6 +161,7 @@ void QgsWFSProvider::reloadData()

if ( !mCached )
emit dataChanged();
mPendingRetrieval = false;
}

void QgsWFSProvider::deleteData()

0 comments on commit e60c9de

Please sign in to comment.