Skip to content

Commit

Permalink
fix: Avoid crash when deleting QGIS application
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and github-actions[bot] committed May 7, 2024
1 parent 1768276 commit 8984bc6
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 @@ -2206,6 +2206,8 @@ QgisApp::~QgisApp()
mCoordsEdit = nullptr;
delete mLayerTreeView;
mLayerTreeView = nullptr;
delete mMessageButton;
mMessageButton = nullptr;

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

Expand Down

0 comments on commit 8984bc6

Please sign in to comment.