fried-water/Tetris — comment on commit fbb821af437269ee96c186bf19b9774851b4da16
File: src/tetris/control/AIController.java line 62
By mlossos:

You need to use the standard lock(); try { } finally { unlock() } pattern here. See the javadocs: http://download.oracle.com/javase/6/docs/api/java/util/concurrent/locks/ReentrantLock.html