We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent dae9376 commit 132688eCopy full SHA for 132688e
src/app/qgisapp.cpp
@@ -1559,6 +1559,14 @@ QgisApp::~QgisApp()
1559
delete canvas;
1560
}
1561
1562
+ // these may have references to map layers which need to be cleaned up
1563
+ delete mBrowserWidget;
1564
+ mBrowserWidget = nullptr;
1565
+ delete mBrowserWidget2;
1566
+ mBrowserWidget2 = nullptr;
1567
+ delete mBrowserModel;
1568
+ mBrowserModel = nullptr;
1569
+
1570
QgsGui::instance()->nativePlatformInterface()->cleanup();
1571
1572
// This function *MUST* be the last one called, as it destroys in
0 commit comments