1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-27 22:01:46 +02:00
Jesse Duffield f4e552f982 prevent deadlocks.
Hard to choose between the lock with a defer unlock in an anonymous function
vs just having an explicit unlock at the end with additional unlocks before
any early returns. The former is less error prone, but the former is much more
readable, especially if the anonymous function would have needed to return
an error value.
2021-04-06 19:34:32 +10:00
..
2021-04-02 11:09:12 +11:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00