mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Fix possible infinite loop in qBtSession constructor (when Web UI is enabled)
This commit is contained in:
parent
d05c725253
commit
d8af5d681c
2 changed files with 2 additions and 1 deletions
|
@ -331,6 +331,7 @@ MainWindow::~MainWindow() {
|
|||
// Delete BTSession objects
|
||||
qDebug("Deleting BTSession");
|
||||
QBtSession::drop();
|
||||
BTSession = 0;
|
||||
// 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