Skip to content

Commit

Permalink
fix: allow stats collection when calling server.closeConnections() (#556
Browse files Browse the repository at this point in the history
)
  • Loading branch information
marcplouhinec authored Oct 15, 2024
1 parent 1bf7809 commit 544e170
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,6 @@ export class Server extends EventEmitter {
socket.destroy();
}

this.connections.clear();

this.log(null, `Destroyed ${this.connections.size} pending sockets`);
}

Expand Down

0 comments on commit 544e170

Please sign in to comment.