Skip to content

Commit

Permalink
Notify feature source when iterator is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 24, 2017
1 parent f33acca commit a8caf49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/postgres/qgspostgresfeatureiterator.cpp
Expand Up @@ -66,6 +66,7 @@ QgsPostgresFeatureIterator::QgsPostgresFeatureIterator( QgsPostgresFeatureSource
{
// can't reproject mFilterRect
mClosed = true;
iteratorClosed();
return;
}

Expand Down Expand Up @@ -98,6 +99,7 @@ QgsPostgresFeatureIterator::QgsPostgresFeatureIterator( QgsPostgresFeatureSource
if ( request.filterFids().isEmpty() )
{
mClosed = true;
iteratorClosed();
}
else
{
Expand Down

0 comments on commit a8caf49

Please sign in to comment.