Skip to content

Commit

Permalink
Only cleanup python with newer sip versions (Fix #8102)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 3, 2013
1 parent 242a09d commit f3e08b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -800,9 +800,11 @@ QgisApp::~QgisApp()

delete QgsProject::instance();

#if SIP_VERSION >= 0x40e06
if ( mPythonUtils )
mPythonUtils->exitPython();
delete mPythonUtils;
#endif
}

void QgisApp::dragEnterEvent( QDragEnterEvent *event )
Expand Down

0 comments on commit f3e08b5

Please sign in to comment.