Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python interpreter not destroyed when parent QML is destroyed #110

Open
accumulator opened this issue Nov 1, 2019 · 1 comment
Open

Comments

@accumulator
Copy link

When unloading a QML component that contains a Python QML element (in my case through QmlLive feature of QtCreator, i.e. QQuickView->setSource(..)), the python interpreter seems to stay alive.

The reload of the parent component succeeds, but then the python interpreter seems to have kept its state, and does not re-execute the code from the module imports..

@thp
Copy link
Owner

thp commented Nov 5, 2019

Thanks for your report. This can probably be done with Py_FinalizeEx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants