Aborting search engine process during closure. Close #2671

This commit is contained in:
DoumanAsh
2015-03-07 23:54:31 +03:00
committed by sledgehammer999
parent a0877fd57c
commit d8838363b8

View File

@@ -929,6 +929,9 @@ void MainWindow::closeEvent(QCloseEvent *e)
}
}
//abort search if any
if (searchEngine) delete searchEngine;
hide();
// Hide tray icon
if (systrayIcon)