# File lib/ruote/worker.rb, line 135 def shutdown @state_mutex.synchronize { @state = 'stopped' } join end