[Qt-interest] 6 second delay after destruction of QMainWindow subclass
Stephen Collyer
scollyer at netspinner.co.uk
Wed May 13 12:23:01 CEST 2009
I have code which constructs an auto object which is subclassed from
QMainWindow. Logging shows me that there is a 6 second delay after the
object's destructor runs, when the program terminates.
The code in skeleton looks like:
try
{
QApplication app(argc, argv);
MainWindowClass m;
<construct other objects>
...
}
catch(..)
{
..
}
<some logging>
exit(0);
The MainWindowClass object is the last object destroyed when control leaves
the try block.
Can anyone suggest what's going on here ?
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090513/90c9973a/attachment.html
More information about the Qt-interest-old
mailing list