[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Re: QApplication destructor
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2009-10-10 10:37:33
Message-ID: a1f4de580071d06b6e0892b3edbe733a () localhost
[Download RAW message or body]

On Fri, 09 Oct 2009 18:00:06 +0200, Giovanni Bajo <rasky@develer.com>
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic