mirror of
https://github.com/rclone/rclone.git
synced 2025-03-16 01:45:20 +08:00

Before this change if rclone failed to close a file download for some reason it would leak a concurrency token. When all the tokens were leaked then rclone would lock up. This fix returns the concurrency token regardless of the error status.