Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Notify feature source when iterator is closed
- Loading branch information
Showing
with
2 additions
and
0 deletions.
-
+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 |
|
|
{ |
|
|