Skip to content

Instantly share code, notes, and snippets.

@DanielBaulig
Created July 12, 2011 18:40
Show Gist options
  • Save DanielBaulig/1078645 to your computer and use it in GitHub Desktop.
Save DanielBaulig/1078645 to your computer and use it in GitHub Desktop.
Fix for Issue Issue #296
Manager.prototype.onClientDisconnect = function (id, reason) {
for (var name in this.namespaces) {
if (this.roomClients[id][name]) {
this.namespaces[name].handleDisconnect(id, reason);
}
}
this.onDisconnect(id);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment