mirror of
https://github.com/rclone/rclone.git
synced 2025-01-11 08:49:37 +01:00
cache: flush the memory cache after close
This commit is contained in:
parent
0865e38917
commit
6e11a25df5
1
backend/cache/handle.go
vendored
1
backend/cache/handle.go
vendored
@ -314,6 +314,7 @@ func (r *Handle) Close() error {
|
|||||||
waitIdx++
|
waitIdx++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
r.memory.db.Flush()
|
||||||
|
|
||||||
fs.Debugf(r, "cache reader closed %v", r.offset)
|
fs.Debugf(r, "cache reader closed %v", r.offset)
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user