golang/groupcache — pull request #38 by jasonmoo (2014-11-17 17:26:38+00:00)
Title: Prevent any queued calls between Done signal and key delete

Having the `.Done()` call outside the mutex seems to leave a window where new calls could grab the lock and queue before the map key is deleted. In this case a call would hang indefinitely.