mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Search process is now stopped cleanly before exit to avoid error messages in console
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user