delegated ConcurrentServerRunner.stop() to .accept(ClientVisitor)
The stop method was iterating a copy of the collection. Since this is exactly what accept(ClientVisitor) does, stop can simply delegate to accept with a visitor that closes each visited client.
parent
7964d6e9
Please register or sign in to comment