Closed xuther closed 3 years ago
@jessemillar for the notification.
@xuther Been a while since I've dealt with mutexes. What was the issue and how does this fix it? #education
Essentially just that the mutex is acquired and then there's a valid (non-shutdown) codepath that returns without unlocking (if the error on line 334 is not nil). So if that error is handled, but the program doesn't exit, subsequent calls to lock the mutex would block forever.
This actually fixes #17. Awesome!
@xuther Add me on Discord so we can chat in a more longform fashion. B-Froggio#6354
I ran into this as I was testing some stuff. Figured it was better to get it in sooner than later.