coreos/locksmith — pull request #11 by jonboulle (2014-05-10 08:36:45+00:00)
Title: daemon: make sure the unlock loop is actually closed

There is a very small race that needs to be closed by ensuring the unlock loop fully exits before entering the lock loop. Needs a waitgroup or done channel.