method
shutdown
v5.1.7 -
Show latest stable
- Class:
ActionCable::SubscriptionAdapter::Redis::Listener
shutdown()public
No documentation available.
# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 111
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