1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-30 16:34:16 +00:00

- Destroy preview process cleanly on qBT exit if it is still running

This commit is contained in:
Christophe Dumez 2007-03-10 19:03:17 +00:00
parent 87ea65b4e9
commit e85a82a426

View File

@ -273,6 +273,8 @@ GUI::~GUI(){
delete DLListModel; delete DLListModel;
delete SearchListModel; delete SearchListModel;
delete SearchDelegate; delete SearchDelegate;
previewProcess->kill();
previewProcess->waitForFinished();
delete previewProcess; delete previewProcess;
delete connecStatusLblIcon; delete connecStatusLblIcon;
} }