method

shutdown

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Listener
shutdown() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 118
          def shutdown
            @subscription_lock.synchronize do
              return if @thread.nil?

              when_connected do
                send_command("unsubscribe")
                @raw_client = nil
              end
            end

            Thread.pass while @thread.alive?
          end
Register or log in to add new notes.