mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -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;
|
||||
IconProvider::drop();
|
||||
// Delete QBtSession::instance() object
|
||||
m_pwr->setActivityState(false);
|
||||
qDebug("Deleting QBtSession::instance()");
|
||||
QBtSession::drop();
|
||||
m_pwr->setActivityState(false);
|
||||
qDebug("Exiting GUI destructor...");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue