On 1/16/2024 4:17 AM, Barry wrote:


On 16 Jan 2024, at 03:49, Thomas Passin via Python-list 
<python-list@python.org> wrote:

This kind of thing can happen with PyQt, also.  There are ways to minimize it 
but I don't know if you can ever be sure all Qt C++ objects will get deleted. 
It depends on the type of object and the circumstances.

When this has been seen in the past it has been promptly fixed by the 
maintainer.

The usual advice is to call deleteLater() on objects derived from PyQt classes. I don't know enough about PyQt to know if this takes care of all dangling reference problems, though.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to