mirror of
https://github.com/rclone/rclone.git
synced 2025-01-19 04:47:54 +02:00
cf9b973fe4
Before this change, using -P occasionally deadlocked on the Transfer mutex when Transfer.Done() was called with a non nil error and the StatsInfo mutex since they mutually call each other. This was fixed by making sure that the Transfer mutex is always released before calling any StatsInfo methods. This improves on: 6f87267b347b4935 Fixes #3505