Skip to content

Commit

Permalink
reduce race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtor committed Dec 1, 2015
1 parent 188625c commit e60c9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/wfs/qgswfsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ QgsAbstractFeatureSource* QgsWFSProvider::featureSource() const

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

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

void QgsWFSProvider::deleteData()
Expand Down

0 comments on commit e60c9de

Please sign in to comment.