i use the terminate function in the MainWindow's destruction function. i have add the setTerminationEnabled(true); in the thread's construction function. at the mainwindow's destruction function i invoke it like this: thread->terminate(); but when i close the applicaiton the gui is closed and the application process is still running. .. the thread is blocking waiting client's data. i search the froum and try the solution that i found. my debug log show that it is blocking at the terminate() fucntion. my question is: how to terminate the thread when it is running? any help is appreciate!
Bookmarks