integrity/integrity — pull request #166 by mildmojo (2012-04-10 16:58:50+00:00)
Title: Initialize ThreadedBuilder::ThreadPool's @logger before spawning workers

This is a small change to initialize the @logger instance variable in ThreadedBuilder::ThreadPool before creating workers that reference it.

If a worker thread tries to touch @logger before it's ready, the thread will die with a NoMethodError exception and Integrity won't spawn a replacement. I found this out when I was adding extra start/stop logging to the workers.