From a0664f05b112689177feef927fc0d30dc837bbf5 Mon Sep 17 00:00:00 2001 From: Robinson Date: Mon, 4 Apr 2022 16:29:16 +0200 Subject: [PATCH] comment cleanup --- src/dorkbox/network/handshake/ServerHandshake.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {