Don't double count sessions when closing

This commit is contained in:
Michael Lumish 2020-06-09 11:07:20 -07:00
parent cb9f96126f
commit f4853c13f7
1 changed files with 0 additions and 1 deletions

View File

@ -500,7 +500,6 @@ export class Server {
}
}
pendingChecks += this.sessions.size;
this.sessions.forEach((session) => {
if (!session.closed) {
pendingChecks += 1;