vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/resolver.rb
#  Close the Resolver. Unfinished queries are terminated with OtherResolvError.
Close the Resolver. Unfinished queries are terminated with OtherResolvError.
Close the Resolver . Unfinished queries are terminated with OtherResolvError .
def close
      @parent.single_res_mutex.synchronize {
        @query_list.each do |client_query_id, values|
         _msg, client_queue, q, _outstanding = values
          send_result_and_stop_querying(client_queue, client_query_id, q, nil,
              OtherResolvError.new('Resolver closing!'))
        end
      }
    end
def close @parent . single_res_mutex . synchronize { @query_list . each do | client_query_id , values | _msg , client_queue , q , _outstanding = values send_result_and_stop_querying ( client_queue , client_query_id , q , nil , OtherResolvError . new ( 'Resolver closing!' ) ) end } end
Close the Resolver.
Close the Resolver .
#       @mutex.synchronize {