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:00:15 +11:00
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-02 11:00:15 +11:00
2020-11-28 20:48:17 +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-02 11:00:15 +11:00
2021-04-06 19:34:32 +10:00
2021-04-06 19:34:32 +10:00
2021-04-02 11:00:15 +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
2021-04-06 19:34:32 +10:00