Method: Minitest::Parallel::Executor#shutdown
- Defined in:
- lib/minitest/parallel.rb
permalink #shutdown ⇒ Object
Shuts down the pool of workers by signalling them to quit and waiting for them all to finish what they’re currently working on.
50 51 52 53 |
# File 'lib/minitest/parallel.rb', line 50 def shutdown size.times { @queue << nil } @pool.each(&:join) end |