Skip to content

Commit

Permalink
fix segmentation fault 11 on MacOS during closing QGIS
Browse files Browse the repository at this point in the history
(cherry picked from commit cbdda42)
  • Loading branch information
PeterPetrik authored and nyalldawson committed Oct 23, 2020
1 parent a1fc689 commit ab38f31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -1678,6 +1678,8 @@ QgisApp::~QgisApp()
mGeometryValidationDock = nullptr;
delete mSnappingUtils;
mSnappingUtils = nullptr;
delete mUserInputDockWidget;
mUserInputDockWidget = nullptr;

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

Expand Down

0 comments on commit ab38f31

Please sign in to comment.