sawamur/buffered_job — pull request #1 by snoe (2012-11-16 19:25:43+00:00)
Title: If an exception is thrown during flush! the lock doesn't release.

Wrapped the locking block around with a begin/ensure so that Lock.unlock will always run.