# File lib/redis.rb, line 950 def quit synchronize do begin @client.call [:quit] rescue Errno::ECONNRESET ensure @client.disconnect end end end