void CAChannelProvider::unregisterChannel(Channel::shared_pointer const & channel) { Lock lock(channelsMutex); channels.erase(channel.get()); }
void CAChannelProvider::registerChannel(Channel::shared_pointer const & channel) { Lock lock(channelsMutex); channels[channel.get()] = Channel::weak_pointer(channel); }