The lock.acquire calls and the code in between should be in a try block.
The lock.release calls should be in finally.
This way the lock will be released if the code in between crashes.
Original issue reported on code.google.com by lobais on 16 Aug 2007 at 9:30
Original issue reported on code.google.com by
lobais
on 16 Aug 2007 at 9:30