Skip to content

Commit 544e170

Browse files
fix: allow stats collection when calling server.closeConnections() (#556)
1 parent 1bf7809 commit 544e170

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/server.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,6 @@ export class Server extends EventEmitter {
633633
socket.destroy();
634634
}
635635

636-
this.connections.clear();
637-
638636
this.log(null, `Destroyed ${this.connections.size} pending sockets`);
639637
}
640638

0 commit comments

Comments
 (0)