mirror of
https://github.com/rclone/rclone.git
synced 2025-02-22 09:43:09 +08:00

In 53a1a0e3efb2cf04 we introduced a problem where if there was an error on the file being transferred then the file was re-opened and the old one wasn't closed. This was partially fixed in bfbddab46be5d971 however this didn't address the case of the old file being closed. This is now fixed by - marking the file as open again in UpdateReader - moving the stopping the accounting machinery to a new method Done