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