Fixed; make sure to clean up store upon client disconnect.

This commit is contained in:
Guillermo Rauch
2011-06-29 07:49:22 -03:00
parent df21bea4df
commit 2fd406f7b2

View File

@@ -468,6 +468,8 @@ Manager.prototype.onDisconnect = function (id, local) {
}
}
this.store.destroyClient(id);
this.store.unsubscribe('dispatch:' + id);
if (local) {