"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
operations: fix goroutine leak in case of copy retry
Ankur Guptaf04520a6e3d0
diff --git a/fs/accounting/transfer.go b/fs/accounting/transfer.goindex 93de4bcbd..09d27cf17 100644--- a/fs/accounting/transfer.go+++ b/fs/accounting/transfer.go@@ -132,6 +132,7 @@ func (tr *Transfer) Reset(ctx context.Context) {ci := fs.GetConfig(ctx)if acc != nil {+ acc.Done()if err := acc.Close(); err != nil {fs.LogLevelPrintf(ci.StatsLogLevel, nil, "can't close account: %+v\n", err)}