mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Catch SIGTERM to exit cleanly (e.g. computer shutdown)
This commit is contained in:
parent
dfb2046f82
commit
6a3dddd0cc
3 changed files with 24 additions and 8 deletions
|
@ -244,6 +244,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
|
|||
// Destructor
|
||||
GUI::~GUI() {
|
||||
qDebug("GUI destruction");
|
||||
hide();
|
||||
delete dlSpeedLbl;
|
||||
delete upSpeedLbl;
|
||||
delete ratioLbl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue