mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
Aborting search engine process during closure. Close #2671
This commit is contained in:
parent
6e4fbcf017
commit
62776df9e1
1 changed files with 3 additions and 0 deletions
|
@ -928,6 +928,9 @@ void MainWindow::closeEvent(QCloseEvent *e)
|
|||
}
|
||||
}
|
||||
|
||||
//abort search if any
|
||||
if (searchEngine) delete searchEngine;
|
||||
|
||||
hide();
|
||||
// Hide tray icon
|
||||
if (systrayIcon)
|
||||
|
|
Loading…
Reference in a new issue