mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-10 13:54:23 +00:00
Make sure we don't inhibit system sleep before qBTsession destructor
This commit is contained in:
parent
dc2de49cdb
commit
9a5568349f
@ -366,9 +366,9 @@ MainWindow::~MainWindow() {
|
|||||||
delete switchRSSShortcut;
|
delete switchRSSShortcut;
|
||||||
IconProvider::drop();
|
IconProvider::drop();
|
||||||
// Delete QBtSession::instance() object
|
// Delete QBtSession::instance() object
|
||||||
|
m_pwr->setActivityState(false);
|
||||||
qDebug("Deleting QBtSession::instance()");
|
qDebug("Deleting QBtSession::instance()");
|
||||||
QBtSession::drop();
|
QBtSession::drop();
|
||||||
m_pwr->setActivityState(false);
|
|
||||||
qDebug("Exiting GUI destructor...");
|
qDebug("Exiting GUI destructor...");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user