pub async fn remove_sub_on_stop(
    p2p: P2pPtr,
    channel: ChannelPtr,
    type_id: SessionBitFlag
)
Expand description

Removes channel from the list of connected channels when a stop signal is received.