3 ms·
Even if you check the error on close you don't know the data's been written to disk. This doesn't win you any guarantees on its own, but it is necessary to con
by SamReidHughes 9y ago
Even if you check the error on close you don't know the data's been written to disk. This doesn't win you any guarantees on its own, but it is necessary to consider if you do sync later and want to prevent errors from leaking through.