mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
BUGFIX: Fix crash when disabling then reenabling RSS
This commit is contained in:
@@ -51,8 +51,10 @@ RssDownloadRuleList* RssDownloadRuleList::instance()
|
||||
|
||||
void RssDownloadRuleList::drop()
|
||||
{
|
||||
if(m_instance)
|
||||
if(m_instance) {
|
||||
delete m_instance;
|
||||
m_instance = 0;
|
||||
}
|
||||
}
|
||||
|
||||
RssDownloadRule RssDownloadRuleList::findMatchingRule(const QString &feed_url, const QString &article_title) const
|
||||
|
||||
Reference in New Issue
Block a user