mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
- Search process is now stopped cleanly before exit to avoid error messages in console
This commit is contained in:
parent
825c874718
commit
950072c696
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue