method

remove_subscriber

remove_subscriber(channel, subscriber)
public

No documentation available.

# File actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb, line 25
      def remove_subscriber(channel, subscriber)
        @sync.synchronize do
          @subscribers[channel].delete(subscriber)

          if @subscribers[channel].empty?
            @subscribers.delete channel
            remove_channel channel
          end
        end
      end