We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d70f32 commit fe32ba4Copy full SHA for fe32ba4
src/providers/ogr/qgsogrprovider.cpp
@@ -384,6 +384,7 @@ QgsOgrProvider::QgsOgrProvider( QString const & uri )
384
QgsOgrProvider::~QgsOgrProvider()
385
{
386
close();
387
+ QgsOgrConnPool::instance()->unref( mFilePath );
388
}
389
390
QgsAbstractFeatureSource* QgsOgrProvider::featureSource() const
@@ -2969,8 +2970,6 @@ void QgsOgrProvider::close()
2969
2970
setProperty( "_debug_open_mode", "invalid" );
2971
2972
updateExtents();
-
2973
- QgsOgrConnPool::instance()->unref( mFilePath );
2974
2975
2976
void QgsOgrProvider::reloadData()
0 commit comments