Merge pull request #11 from nicdex/9-undefined-connectionId

9 - add missing connectionId to function parameter
This commit is contained in:
Nicolas Dextraze 2016-11-06 16:24:56 -08:00 committed by GitHub
commit 9eb37ef42e

View File

@ -38,7 +38,7 @@ SubscriptionsManager.prototype.cleanUp = function() {
this._retryPendingSubscriptions = []; this._retryPendingSubscriptions = [];
}; };
SubscriptionsManager.prototype.purgeSubscribedAndDroppedSubscriptions = function() { SubscriptionsManager.prototype.purgeSubscribedAndDroppedSubscriptions = function(connectionId) {
var self = this; var self = this;
var subscriptionsToRemove = []; var subscriptionsToRemove = [];
this._activeSubscriptions.forEach(function(_, subscription) { this._activeSubscriptions.forEach(function(_, subscription) {