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 :)
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
