mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Fixed; make sure to clean up store upon client disconnect.
This commit is contained in:
@@ -468,6 +468,8 @@ Manager.prototype.onDisconnect = function (id, local) {
|
||||
}
|
||||
}
|
||||
|
||||
this.store.destroyClient(id);
|
||||
|
||||
this.store.unsubscribe('dispatch:' + id);
|
||||
|
||||
if (local) {
|
||||
|
||||
Reference in New Issue
Block a user