mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Fix possible infinite loop in qBtSession constructor (when Web UI is enabled)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user