1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +01:00

AdBlockManager: Temporarily remove url interceptor when updating matcher

This commit is contained in:
David Rosca 2018-05-26 20:11:02 +02:00
parent 42f70c5252
commit 7c07af64fe
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -359,7 +359,9 @@ void AdBlockManager::updateMatcher()
{ {
QMutexLocker locker(&m_mutex); QMutexLocker locker(&m_mutex);
mApp->networkManager()->removeUrlInterceptor(m_interceptor);
m_matcher->update(); m_matcher->update();
mApp->networkManager()->installUrlInterceptor(m_interceptor);
} }
void AdBlockManager::updateAllSubscriptions() void AdBlockManager::updateAllSubscriptions()