Skip to content

Commit f3e08b5

Browse files
committed
Only cleanup python with newer sip versions (Fix #8102)
1 parent 242a09d commit f3e08b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/qgisapp.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,11 @@ QgisApp::~QgisApp()
800800

801801
delete QgsProject::instance();
802802

803+
#if SIP_VERSION >= 0x40e06
803804
if ( mPythonUtils )
804805
mPythonUtils->exitPython();
805806
delete mPythonUtils;
807+
#endif
806808
}
807809

808810
void QgisApp::dragEnterEvent( QDragEnterEvent *event )

0 commit comments

Comments
 (0)