Index: lib/filterStorage.js |
=================================================================== |
--- a/lib/filterStorage.js |
+++ b/lib/filterStorage.js |
@@ -144,16 +144,18 @@ |
{ |
if (FilterStorage.subscriptions[i].url == subscription.url) |
{ |
removeSubscriptionFilters(subscription); |
FilterStorage.subscriptions.splice(i--, 1); |
FilterStorage.knownSubscriptions.delete(subscription.url); |
FilterNotifier.triggerListeners("subscription.removed", subscription); |
+ |
+ subscription.free(); |
Manish Jethani
2018/08/11 15:28:17
At this point all the other references to this obj
|
return; |
} |
} |
}, |
/** |
* Moves a subscription in the list to a new position. |
* @param {Subscription} subscription filter subscription to be moved |