@resolveio/server-lib 5.0.4 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -689,8 +689,10 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
689
689
|
});
|
|
690
690
|
}
|
|
691
691
|
else {
|
|
692
|
-
|
|
693
|
-
|
|
692
|
+
for (var jj = _this._subCache.length - 1; jj >= 0; jj--) {
|
|
693
|
+
if (_this._subCache[jj].publication === sub.publication) {
|
|
694
|
+
_this._subCache.splice(jj, 1);
|
|
695
|
+
}
|
|
694
696
|
}
|
|
695
697
|
that.sendPubData(sub, 'delete', collection);
|
|
696
698
|
}
|