mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
BUGFIX: Avoid possible crash on exit when the IP filter is enabled (closes #695945)
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- BUGFIX: Some encoding fixes (Windows)
|
- BUGFIX: Some encoding fixes (Windows)
|
||||||
- BUGFIX: Display default password on stdout when using nox
|
- BUGFIX: Display default password on stdout when using nox
|
||||||
- BUGFIX: Fix issues when search engines results contain a '|'
|
- BUGFIX: Fix issues when search engines results contain a '|'
|
||||||
|
- BUGFIX: Avoid possible crash on exit when the IP filter is enabled (closes #695945)
|
||||||
|
|
||||||
* Sat Jan 1 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.5.3
|
* Sat Jan 1 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.5.3
|
||||||
- BUGFIX: Fix priority up/down for multiple torrents at the same time (closes #692184)
|
- BUGFIX: Fix priority up/down for multiple torrents at the same time (closes #692184)
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ protected:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(abort) return;
|
||||||
s->set_ip_filter(filter);
|
s->set_ip_filter(filter);
|
||||||
qDebug("IP Filter thread: finished parsing, filter applied");
|
qDebug("IP Filter thread: finished parsing, filter applied");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -155,9 +155,6 @@ QBtSession::~QBtSession() {
|
|||||||
#endif
|
#endif
|
||||||
saveSessionState();
|
saveSessionState();
|
||||||
saveFastResumeData();
|
saveFastResumeData();
|
||||||
qDebug("Deleting the session");
|
|
||||||
delete s;
|
|
||||||
qDebug("Session deleted");
|
|
||||||
// Delete our objects
|
// Delete our objects
|
||||||
if(m_tracker)
|
if(m_tracker)
|
||||||
delete m_tracker;
|
delete m_tracker;
|
||||||
@@ -174,6 +171,8 @@ QBtSession::~QBtSession() {
|
|||||||
delete httpServer;
|
delete httpServer;
|
||||||
if(timerETA)
|
if(timerETA)
|
||||||
delete timerETA;
|
delete timerETA;
|
||||||
|
qDebug("Deleting the session");
|
||||||
|
delete s;
|
||||||
qDebug("BTSession destructor OUT");
|
qDebug("BTSession destructor OUT");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user