1

Closed

TcpIpServerConnection: use for loop instead of foreach

description

Inside the TcpIpServerConnection, there is a foreach loop to go through all connections and if a connection must be removed, this connection is stored in some other collection first.

This can be refactored to use a for loop instead. When going from the last to the first connection, the current connection could be removed without a requirement to change the index.
Closed Aug 5, 2016 at 5:42 AM by
TFS is working again - so finally I can close this issue :)

comments

KNeitzel wrote Aug 4, 2016 at 8:36 AM

Refactoring done,