lib/bundle.js
/**
 * Remove a connection from the doubly linked list of senders.
 */
Remove a connection from the doubly linked list of senders.
Remove a connection from the doubly linked list of senders .
function removeFromSendersList(conn) {
    var receiver = conn.thisArg || conn.callback;
    var prev = conn.prevSender;
    var next = conn.nextSender;
    if (prev === null && next === null) {
        receiverMap.delete(receiver);
    }
    else if (prev === null) {
        receiverMap.set(receiver, next);
        next.prevSender = null;
    }
    else if (next === null) {
        prev.nextSender = null;
    }
    else {
        prev.nextSender = next;
        next.prevSender = prev;
    }
    conn.prevSender = null;
    conn.nextSender = null;
}
function removeFromSendersList ( conn ) { var receiver = conn . thisArg || conn . callback ; var prev = conn . prevSender ; var next = conn . nextSender ; if ( prev === null && next === null ) { receiverMap . delete ( receiver ) ; } else if ( prev === null ) { receiverMap . set ( receiver , next ) ; next . prevSender = null ; } else if ( next === null ) { prev . nextSender = null ; } else { prev . nextSender = next ; next . prevSender = prev ; } conn . prevSender = null ; conn . nextSender = null ; }
Remove a connection from the doubly linked list of senders.
Remove a connection from the doubly linked list of senders .