mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Merge pull request #2672 from DoumanAsh/abort_search_on_exit
Aborting search engine process during closure. Close #2671
This commit is contained in:
@@ -929,6 +929,9 @@ void MainWindow::closeEvent(QCloseEvent *e)
|
||||
}
|
||||
}
|
||||
|
||||
//abort search if any
|
||||
if (searchEngine) delete searchEngine;
|
||||
|
||||
hide();
|
||||
// Hide tray icon
|
||||
if (systrayIcon)
|
||||
|
||||
Reference in New Issue
Block a user