Skip to content
Permalink
Browse files

Notify feature source when iterator is closed

  • Loading branch information
m-kuhn committed Oct 24, 2017
1 parent f33acca commit a8caf49ae65f574e2097f87569fe18587ca25d6c
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/postgres/qgspostgresfeatureiterator.cpp
@@ -66,6 +66,7 @@ QgsPostgresFeatureIterator::QgsPostgresFeatureIterator( QgsPostgresFeatureSource
{
// can't reproject mFilterRect
mClosed = true;
iteratorClosed();
return;
}

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

0 comments on commit a8caf49

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