2
0
mirror of synced 2025-02-23 22:28:11 +00:00

storage: Add TODO about handling Close errors

This commit is contained in:
Matt Joiner 2017-09-12 18:31:10 +10:00
parent 2b01d2976b
commit cee24fe21b

View File

@ -200,6 +200,7 @@ func (fst fileTorrentImplIO) WriteAt(p []byte, off int64) (n int, err error) {
return
}
n1, err = f.WriteAt(p[:n1], off)
// TODO: On some systems, write errors can be delayed until the Close.
f.Close()
if err != nil {
return