mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Merge pull request #2672 from DoumanAsh/abort_search_on_exit
Aborting search engine process during closure. Close #2671
This commit is contained in:
commit
832272bf3a
1 changed files with 3 additions and 0 deletions
|
@ -929,6 +929,9 @@ void MainWindow::closeEvent(QCloseEvent *e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//abort search if any
|
||||||
|
if (searchEngine) delete searchEngine;
|
||||||
|
|
||||||
hide();
|
hide();
|
||||||
// Hide tray icon
|
// Hide tray icon
|
||||||
if (systrayIcon)
|
if (systrayIcon)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue