common: fs: file: Flush the file to the disk when Flush() is called
std::fflush does not guarantee that file buffers are flushed to the disk. Use _commit on Windows and fsync on all other OSes to ensure that the file is flushed to the disk.master
parent
56afd4ab4b
commit
a98b6c8f07
Loading…
Reference in New Issue