Skip to content

Commit a8caf49

Browse files
committedOct 24, 2017
Notify feature source when iterator is closed
1 parent f33acca commit a8caf49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/providers/postgres/qgspostgresfeatureiterator.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ QgsPostgresFeatureIterator::QgsPostgresFeatureIterator( QgsPostgresFeatureSource
6666
{
6767
// can't reproject mFilterRect
6868
mClosed = true;
69+
iteratorClosed();
6970
return;
7071
}
7172

@@ -98,6 +99,7 @@ QgsPostgresFeatureIterator::QgsPostgresFeatureIterator( QgsPostgresFeatureSource
9899
if ( request.filterFids().isEmpty() )
99100
{
100101
mClosed = true;
102+
iteratorClosed();
101103
}
102104
else
103105
{

0 commit comments

Comments
 (0)
Please sign in to comment.