Skip to content

Commit

Permalink
Merge pull request #57285 from troopa81/fix_crash_qt6_close
Browse files Browse the repository at this point in the history
[Qt6] Avoid crash when deleting QGIS application
  • Loading branch information
rouault authored May 7, 2024
2 parents b3d1848 + 7d17b0e commit 9e69ae9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2216,6 +2216,8 @@ QgisApp::~QgisApp()
mCoordsEdit = nullptr;
delete mLayerTreeView;
mLayerTreeView = nullptr;
delete mMessageButton;
mMessageButton = nullptr;

QgsGui::nativePlatformInterface()->cleanup();

Expand Down

0 comments on commit 9e69ae9

Please sign in to comment.