Trying to fix issue

This commit is contained in:
Matthias Koefferlein 2023-11-25 01:00:20 +01:00
parent b7f7866768
commit dd0cfe9b97
1 changed files with 2 additions and 2 deletions

View File

@ -390,6 +390,8 @@ PythonInterpreter::~PythonInterpreter ()
m_stdout = PythonPtr ();
m_stderr = PythonPtr ();
sp_interpreter = 0;
if (m_embedded) {
Py_Finalize ();
@ -400,8 +402,6 @@ PythonInterpreter::~PythonInterpreter ()
}
}
sp_interpreter = 0;
}
char *