@Override
    public RTMPConnection removeConnection(String sessionId) {
        log.debug("Removing connection with session id: {}", sessionId);
        if (log.isTraceEnabled()) {
            log.trace("Connections ({}) at pre-remove: {}", connMap.size(), connMap.values());
        }
        // remove from map
        RTMPConnection conn = connMap.remove(sessionId);
        if (conn != null) {
            log.trace("Connections: {}", conns.decrementAndGet());
            Red5.setConnectionLocal(null);
        }
        return conn;
    }
@ Override public RTMPConnection removeConnection ( String sessionId ) { log . debug ( "Removing connection with session id: {}" , sessionId ) ; if ( log . isTraceEnabled ( ) ) { log . trace ( "Connections ({}) at pre-remove: {}" , connMap . size ( ) , connMap . values ( ) ) ; } RTMPConnection conn = connMap . remove ( sessionId ) ; if ( conn != null ) { log . trace ( "Connections: {}" , conns . decrementAndGet ( ) ) ; Red5 . setConnectionLocal ( null ) ; } return conn ; }
{@inheritDoc}