Commit faec9ac0 authored by Maurizio Paolini's avatar Maurizio Paolini
Browse files

Going back to original Py_Finalize() to maintain compatibility with pithon2...

Going back to original Py_Finalize() to maintain compatibility with pithon2 and earlier versions of python3

Reviewed By: wbauer
Differential Revision: https://phabricator.kde.org/D26550
CCBUG: 416037
parent e654314f
......@@ -428,7 +428,8 @@ PythonScripter::~PythonScripter()
{
PyErr_Clear();
delete d;
Py_FinalizeEx();
// Py_FinalizeEx();
Py_Finalize(); // maintained for compatibility reasons with python2
}
class CompiledPythonScript::Private
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment