comment cleanup
This commit is contained in:
parent
4e248a969f
commit
a0664f05b1
@ -118,7 +118,7 @@ internal class ServerHandshake<CONNECTION : Connection>(private val logger: KLog
|
|||||||
logger.trace { "[${pendingConnection.id}] Connection from client $connectionString done with handshake." }
|
logger.trace { "[${pendingConnection.id}] Connection from client $connectionString done with handshake." }
|
||||||
|
|
||||||
pendingConnection.postCloseAction = {
|
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
|
// this always has to be on event dispatch, otherwise we can have weird logic loops if we reconnect within a disconnect callback
|
||||||
actionDispatch.eventLoop {
|
actionDispatch.eventLoop {
|
||||||
|
Loading…
Reference in New Issue
Block a user