[PyQt] APPCrash on exit, Qt4 MainWindow

egus egusis at gmail.com
Wed Jul 3 14:58:56 BST 2013


Thanks for the direction Phil.

I added sip.setdestroyonexit(False) to__init__ in my MainWindow class and
that appears to have negated the crashing on the two apps I tried it on.
Simply commenting that command out again caused the same apps to crash after
adding it.  So it's definitely the right direction.

My limited knowledge of sip, do I risk any memory leaks or other unexpected
behavior by bypassing the c++ destructor call this way? Are there any
cleanup methods/calls I should add when setting setdestroyonexit to False?

Thanks,
-egus




--
View this message in context: http://python.6.x6.nabble.com/APPCrash-on-exit-Qt4-MainWindow-tp5023351p5023518.html
Sent from the PyQt mailing list archive at Nabble.com.


More information about the PyQt mailing list