DEV Community

Discussion on: What's the dumbest bug you caused yourself

Collapse
 
elmuerte profile image
Michiel Hendriks

Adding contextual locking, but forgetting to unlock in case of an exception.
Took a long time for something to go wrong. But when it finally did the application stopped immediately trying to acquire a lock it would never get.