Method: Gem::Net::HTTP::Persistent#shutdown

Defined in:
lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb

#shutdownObject

Shuts down all connections

NOTE: Calling shutdown for can be dangerous!

If any thread is still using a connection it may cause an error! Call #shutdown when you are completely done making requests!



963
964
965
# File 'lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb', line 963

def shutdown
  @pool.shutdown { |http| http.finish }
end