Skip to content

Commit bdd61d5

Browse files
committedJun 17, 2013
Only cleanup python on exit if loaded
Fix #8085
1 parent dd0e86f commit bdd61d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgisapp.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,8 @@ QgisApp::~QgisApp()
796796

797797
delete QgsProject::instance();
798798

799-
mPythonUtils->exitPython();
799+
if ( mPythonUtils )
800+
mPythonUtils->exitPython();
800801
delete mPythonUtils;
801802
}
802803

0 commit comments

Comments
 (0)
Please sign in to comment.