Skip to content
Permalink
Browse files

Only cleanup python on exit if loaded

Fix #8085
  • Loading branch information
m-kuhn committed Jun 17, 2013
1 parent dd0e86f commit bdd61d592cacafac1be5ab90a8621847a2b49ba3
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgisapp.cpp
@@ -796,7 +796,8 @@ QgisApp::~QgisApp()

delete QgsProject::instance();

mPythonUtils->exitPython();
if ( mPythonUtils )
mPythonUtils->exitPython();
delete mPythonUtils;
}

0 comments on commit bdd61d5

Please sign in to comment.
You can’t perform that action at this time.