Replies: 1 comment
-
I have a version of PythonQt that does not leak with Qt5.15. Patched version of PythonQt is here: https://github.com/trikset/trik-pythonqt Warning My version of PythonQt can dispose only on correct tests. Some additional improvements required to cleanup for bad cases. For example, references to sleeping timer's callback like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Long story short: an attempt to
Py_FinalizeEx()
afterPythonQt::cleanup()
crashes an app. (Can be easily reproduced inPythonQtTests
)Because the former releases a lot of objects (even the
self
), but there are still registered callbacks there (for wrappers) that in turn are called when the latter (finalization) decreases references and attempts to release the bound C++ object.Beta Was this translation helpful? Give feedback.
All reactions