# File lib/core/container.rb, line 333 def add task @lock.synchronize do @active += 1 task.close @stop_err if @stopped end work_wake task end