diff --git a/src/dorkbox/network/handshake/ServerHandshake.kt b/src/dorkbox/network/handshake/ServerHandshake.kt index a94e9bf2..894b9905 100644 --- a/src/dorkbox/network/handshake/ServerHandshake.kt +++ b/src/dorkbox/network/handshake/ServerHandshake.kt @@ -118,7 +118,7 @@ internal class ServerHandshake(private val logger: KLog logger.trace { "[${pendingConnection.id}] Connection from client $connectionString done with handshake." } pendingConnection.postCloseAction = { - // this is called whenever connection.close() is called by the framework or via client.close() + // called on connection.close() // this always has to be on event dispatch, otherwise we can have weird logic loops if we reconnect within a disconnect callback actionDispatch.eventLoop {