mirror of
https://github.com/rclone/rclone.git
synced 2026-10-20 10:34:49 -04:00
cache: flush the memory cache after close
This commit is contained in:
1 parent
0865e38917
commit
6e11a25df5
1 file changed
+1
Vendored
+1
@@ -314,6 +314,7 @@ func (r *Handle) Close() error {
|
||||
waitIdx++
|
||||
}
|
||||
}
|
||||
r.memory.db.Flush()
|
||||
|
||||
fs.Debugf(r, "cache reader closed %v", r.offset)
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user