comment cleanup

This commit is contained in:
Robinson 2022-04-04 16:29:16 +02:00
parent 4e248a969f
commit a0664f05b1
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -118,7 +118,7 @@ internal class ServerHandshake<CONNECTION : Connection>(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 {