From pykde Sat Oct 10 10:37:33 2009 From: Phil Thompson Date: Sat, 10 Oct 2009 10:37:33 +0000 To: pykde Subject: [PyQt] Re: QApplication destructor Message-Id: X-MARC-Message: https://marc.info/?l=pykde&m=125517150329900 On Fri, 09 Oct 2009 18:00:06 +0200, Giovanni Bajo wrote: > Hi Phil, > > The %MethodCode of QApplication's dtor (qapplication.sip) doesn't call > the C++ destructor. There is a long comment about the order of > destruction of top-level widgets vs QApplication, but I can't read it so > to imply that it shouldn't call the C++ dtor -- it looks like a genuine > bug. Yes, and the bug is in SIP as the docs specifically say that the generated code will call the dtor. Fixed in tonight's snapshot - but I'd strongly recommend testing for any crash-on-exit problems. Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt