Removed double-poll for events on the connection

This commit is contained in:
nathan 2020-08-25 02:27:45 +02:00
parent ab69c21774
commit 3326fba214

View File

@ -80,7 +80,6 @@ internal open class ConnectionManager<CONNECTION: Connection>() {
connection = current.value
current = current.next()
function(connection)
if (function(connection)) {
// Concurrent iteration...
connections.remove(connection)