[PyQt] [PyKDE] KCrash, sometimes even glibc
henrik.pauli at gmail.com
Sat Sep 1 21:19:53 BST 2007
On Monday 27 August 2007, Phil Thompson wrote:
> Crashes on exit have two causes...
> - PyQt bugs related to object ownership
> - C++ objects being deleted in the wrong order (because Python objects are
> being garbage collected in a fairly random order).
Fixed them tonight — actually it was how I cleaned up after my windows (or
rather, how I didn't, apparently).
I now keep a list of the primary windows and call close() on them on exit —
then finally kill the trayicon (which I now finally have). I think I could
use some QApplication method to get this list, but I'm actually collecting
the python variables referring to the windows and walking over them on exit.
So now it works :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070901/50229daf/attachment.bin
More information about the PyQt