neo4j/neo4j — pull request #2864 by rickardoberg (2014-08-15 09:54:12+00:00)
Title: Community LockManager lock leak fix

Inline deadlockGuardedWait and change the WaitElement add to only happen once, as it could lead to leftover waits that never got notified, leading to a dead database.