From 3326fba214202f4eddac1840c19d55e1caf4da0f Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 25 Aug 2020 02:27:45 +0200 Subject: [PATCH] Removed double-poll for events on the connection --- src/dorkbox/network/connection/ConnectionManager.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dorkbox/network/connection/ConnectionManager.kt b/src/dorkbox/network/connection/ConnectionManager.kt index b543e661..286fe04f 100644 --- a/src/dorkbox/network/connection/ConnectionManager.kt +++ b/src/dorkbox/network/connection/ConnectionManager.kt @@ -80,7 +80,6 @@ internal open class ConnectionManager() { connection = current.value current = current.next() - function(connection) if (function(connection)) { // Concurrent iteration... connections.remove(connection)