[Qt-interest] QThread deletion
Patric
userqt at gmail.com
Sat Jun 6 12:03:22 CEST 2009
Hi all,
one little question. Lets say I have a thread with event loop. Do I have to call quit before I delete the thread object ?
For example, i think to do something like that :
Destructor{
MyThread::wait();
delete myThreadObject;
}
But is "quit()" necessary here ? I think not, but I'm not sure.
Patric
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090606/b76059d5/attachment.html
More information about the Qt-interest-old
mailing list