public void realClose() {
        if (isClosing()) {
            if (buffer != null) {
                buffer.free();
                buffer = null;
            }
            state.setState(RTMP.STATE_DISCONNECTED);
            pendingMessages.clear();
            super.close();
        }
    }
public void realClose ( ) { if ( isClosing ( ) ) { if ( buffer != null ) { buffer . free ( ) ; buffer = null ; } state . setState ( RTMP . STATE_DISCONNECTED ) ; pendingMessages . clear ( ) ; super . close ( ) ; } }
Real close