| Index: lib/filterStorage.js |
| =================================================================== |
| --- a/lib/filterStorage.js |
| +++ b/lib/filterStorage.js |
| @@ -673,17 +673,21 @@ |
| * @param {Subscription} subscription filter subscription to be removed |
| */ |
| function removeSubscriptionFilters(subscription) |
| { |
| if (!FilterStorage.knownSubscriptions.has(subscription.url)) |
| return; |
| for (let filter of subscription.filters) |
| + { |
| filter.subscriptions.delete(subscription); |
| + if (filter.subscriptions.size == 0) |
|
Manish Jethani
2018/08/25 15:03:38
removeSubscriptionFilters is also called from upda
jsonesen
2018/08/25 15:18:46
The deletion should I ly occur if there are no sub
jsonesen
2018/08/25 15:32:08
Oh shoot nevermind, since it removes first then ad
Manish Jethani
2018/08/26 15:56:19
Yes, exactly. If a filter is also in a different s
|
| + Filter.knownFilters.delete(filter.text); |
|
Jon Sonesen
2018/08/21 21:50:41
I found that there is a pretty good reduction in t
|
| + } |
| } |
| /** |
| * Listener returned by FilterStorage.importData(), parses filter data. |
| * @constructor |
| */ |
| function INIParser() |
| { |