mirror of
https://github.com/restic/restic.git
synced 2025-04-27 19:21:02 +00:00

A delayed lock refresh could send a signal on the `refreshed` channel while the `monitorLockRefresh` goroutine waits for a reply to its `refreshLockRequest`. As the channels are unbuffered, this resulted in a deadlock.