Raymond Hill 2018-07-06 09:50:41 -04:00
parent 511e33ff26
commit 3e42b4a97f
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -217,7 +217,13 @@ api.fetchFilterList = function(mainlistURL, onLoad, onError) {
onLoad(details);
};
// https://github.com/AdguardTeam/FiltersRegistry/issues/82
// Not checking for `errored` status was causing repeated notifications
// to the caller. This can happens when more than one out of multiple
// sublists can't be fetched.
var onLocalLoadError = function(details) {
if ( errored ) { return; }
errored = true;
details.url = mainlistURL;
details.content = '';