Skip to content

Commit

Permalink
Fix potential crash on exit
Browse files Browse the repository at this point in the history
Fixes #30399
  • Loading branch information
nyalldawson committed Jun 27, 2019
1 parent f17155b commit ade4387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -1630,6 +1630,8 @@ QgisApp::~QgisApp()
mBrowserModel = nullptr;
delete mGeometryValidationDock;
mGeometryValidationDock = nullptr;
delete mSnappingUtils;
mSnappingUtils = nullptr;

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

Expand Down

0 comments on commit ade4387

Please sign in to comment.