Skip to content

Commit

Permalink
- Search process is now stopped cleanly before exit to avoid error me…
Browse files Browse the repository at this point in the history
…ssages in console
  • Loading branch information
Christophe Dumez committed Mar 9, 2007
1 parent 825c874 commit 950072c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog
Expand Up @@ -20,6 +20,7 @@
- BUGFIX: Preventing GUI from freezing when deleting a download permanently
- BUGFIX: Fixed directory scanning (stop trying to download the same files several times)
- BUGFIX: Fixed bad loading of scan dir in option (widgets still disabled)
- BUGFIX: Threads are now stopped cleanly before their destruction
- I18N: Better internationalization thanks to dynamic text support
- COSMETIC: Replaced OSD messages by Qt4.2 systray messages

Expand Down
4 changes: 3 additions & 1 deletion src/GUI.cpp
Expand Up @@ -261,9 +261,11 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){
// Destructor
GUI::~GUI(){
qDebug("GUI destruction");
searchProcess->kill();
searchProcess->waitForFinished();
delete searchProcess;
delete options;
delete checkConnect;
delete searchProcess;
delete refresher;
delete myTrayIcon;
delete myTrayIconMenu;
Expand Down

0 comments on commit 950072c

Please sign in to comment.