Skip to content

Commit

Permalink
Fixed dispatching to clients that are disconnected.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jun 30, 2011
1 parent af2d9f2 commit c6a883c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,9 @@ Manager.prototype.onClose = function (id) {
*/

Manager.prototype.onClientDispatch = function (id, packet) {
this.closed[id].push(packet);
if (this.closed[id]) {
this.closed[id].push(packet);
}
};

/**
Expand Down

0 comments on commit c6a883c

Please sign in to comment.