mirror of
https://github.com/rclone/rclone.git
synced 2025-02-23 00:17:41 +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.