1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-31 17:04:34 +00:00

- Search process is now stopped cleanly before exit to avoid error messages in console

This commit is contained in:
Christophe Dumez 2007-03-09 18:38:58 +00:00
parent 825c874718
commit 950072c696
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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;