mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Make sure we don't inhibit system sleep before qBTsession destructor
This commit is contained in:
parent
dc2de49cdb
commit
9a5568349f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue