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