Unregister closed clients

This commit is contained in:
Andrea Cavalli 2021-10-06 11:47:48 +02:00
parent 1832922402
commit d273db0df9

View File

@ -164,7 +164,7 @@ public final class ResponseReceiver extends Thread implements AutoCloseable {
Arrays.fill(events, null);
if (!closedClients.isEmpty()) {
this.registeredClients.addAll(closedClients);
this.registeredClients.removeAll(closedClients);
}
}