func (c *_Conn) clientDisconnect(err error) {
	log.ConnLogger.Debug().Err(err).Str("context", "conn.internalConnLost")
	if err := c.ok(); err != nil {
		log.ConnLogger.Debug().Str("context", "conn.clientDisconnect").Int64("connid", int64(c.connID)).Msg("client disconnect called but not connected")
		return
	}
	c.close()
}
// clientDisconnect close connection when client send disconnect request or an error occurs.
clientDisconnect close connection when client send disconnect request or an error occurs.
// clientDisconnect close connection when client send disconnect request or an error occurs .
func (c *_Conn) clientDisconnect(err error) {
	log.ConnLogger.Debug().Err(err).Str("context", "conn.internalConnLost")
	if err := c.ok(); err != nil {
		log.ConnLogger.Debug().Str("context", "conn.clientDisconnect").Int64("connid", int64(c.connID)).Msg("client disconnect called but not connected")
		return
	}
	c.close()
}
func ( c * _Conn ) clientDisconnect ( err error ) { log . ConnLogger . Debug ( ) . Err ( err ) . Str ( " " , " " ) if err := c . ok ( ) ; err != nil { log . ConnLogger . Debug ( ) . Str ( " " , " " ) . Int64 ( " " , int64 ( c . connID ) ) . Msg ( " " ) return } c . close ( ) }
clientDisconnect close connection when client send disconnect request or an error occurs.
clientDisconnect close connection when client send disconnect request or an error occurs .