mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Fix possible crash when using the new "Auto-shutdown" feature
This commit is contained in:
parent
c1fa7f8645
commit
e323175275
3 changed files with 8 additions and 6 deletions
|
@ -286,10 +286,8 @@ GUI::~GUI() {
|
|||
delete switchTransferShortcut;
|
||||
delete switchRSSShortcut;
|
||||
// Delete BTSession objects
|
||||
qDebug("Deleting BTSession");
|
||||
delete BTSession;
|
||||
// Deleting remaining top level widgets
|
||||
qDebug("Deleting remaining top level widgets");
|
||||
|
||||
// May freeze for a few seconds after the next line
|
||||
// because the Bittorrent session proxy will
|
||||
// actually be deleted now and destruction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue