tustvold commented on PR #4869:
URL: https://github.com/apache/arrow-rs/pull/4869#issuecomment-1737057628

   From https://docs.rs/tokio/latest/tokio/fs/struct.File.html
   
   > A file will not be closed immediately when it goes out of scope if there 
are any IO operations that have not yet completed. To ensure that a file is 
closed immediately when it is dropped, you should call 
[flush](https://docs.rs/tokio/latest/tokio/io/trait.AsyncWriteExt.html#method.flush)
 before dropping it
   
   As we don't use tokio::fs elsewhere this shouldn't impact other methods


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to