Hi,
I have a GUI application and I am using QThread to run some processing in the background. The GUI application communicates with the Qthread through signals. I need to completely kill the Qthread and free up its memory once the background processing is over. I thought that once I call the Qthread::exit(0) inside the Qthread it would get killed. But even after this it continues to respond to the Signals sent by the GUI application. This means that it does not get killed and is still consuming the memory.
Somebody please help. I am creating the thread as follows, Location_Updates is inheriting from Qthread
Qt Code:
Location_Updates *updates; updates = new Location_Updates(this); updates->start();To copy to clipboard, switch view to plain text mode
Bookmarks