Unregister closed clients
This commit is contained in:
parent
1832922402
commit
d273db0df9
@ -164,7 +164,7 @@ public final class ResponseReceiver extends Thread implements AutoCloseable {
|
|||||||
Arrays.fill(events, null);
|
Arrays.fill(events, null);
|
||||||
|
|
||||||
if (!closedClients.isEmpty()) {
|
if (!closedClients.isEmpty()) {
|
||||||
this.registeredClients.addAll(closedClients);
|
this.registeredClients.removeAll(closedClients);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user