class Bundler::Worker
def stop_threads
Stop the worker threads by sending a poison object down the request queue
def stop_threads @threads.each { @request_queue.enq POISON } @threads.each(&:join) end
def stop_threads @threads.each { @request_queue.enq POISON } @threads.each(&:join) end