method

close_all

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: HTTPPool
close_all() public

No documentation

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

Hide source
# File lib/rubygems/request/http_pool.rb, line 27
  def close_all
    until @queue.empty?
      if connection = @queue.pop(true) and connection.started?
        connection.finish
      end
    end
    @queue.push(nil)
  end
Register or log in to add new notes.