Skip to content

Commit

Permalink
Handle leaked dispatch:[id] subscription.
Browse files Browse the repository at this point in the history
  • Loading branch information
dshaw committed Nov 26, 2011
1 parent d5ab46d commit c110036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ Manager.prototype.onClientDisconnect = function (id, reason, local) {
typeof this.roomClients[id][name] !== 'undefined');
}

if (local) this.store.publish('disconnect', id);
this.onDisconnect(id, local);
};

Expand Down

0 comments on commit c110036

Please sign in to comment.