| Class | Resolv::DNS::Requester |
| In: |
lib/resolv.rb
|
| Parent: | Object |
# File lib/resolv.rb, line 532
532: def close
533: thread, sock, @thread, @sock = @thread, @sock
534: begin
535: if thread
536: thread.kill
537: thread.join
538: end
539: ensure
540: sock.close if sock
541: end
542: end