Commit 211f8501 authored by Maurizio Paolini's avatar Maurizio Paolini
Browse files

Fix crash upon exit after transition python2 -> python3 when using scripting (bug #416037)

Reviewed By: kkevin
Differential Revision: https://phabricator.kde.org/D12833
CCBUG: 416037
parent 49c1f484
......@@ -427,8 +427,8 @@ PythonScripter::PythonScripter()
PythonScripter::~PythonScripter()
{
PyErr_Clear();
Py_Finalize();
delete d;
Py_FinalizeEx();
}
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