Skip to content

Commit 4058eac

Browse files
committed
Fixed; make sure the client is cleaned up after booting.
1 parent 8cbd154 commit 4058eac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/manager.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,8 @@ Manager.prototype.onClientMessage = function (id, packet) {
437437
*/
438438

439439
Manager.prototype.onClientDisconnect = function (id, reason) {
440+
this.onDisconnect(id);
441+
440442
for (var name in this.namespaces) {
441443
if (this.roomClients[id][name]) {
442444
this.namespaces[name].handleDisconnect(id, reason);

0 commit comments

Comments
 (0)