Skip to content
Snippets Groups Projects
Verified Commit 8c705006 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

chore: force flush of file in state saving

Without flush we would might be loosing some bytes in writing.
This is explicitly stated in https://doc.rust-lang.org/std/fs/struct.File.html.

Also adds more explicit error handling in state related code.
parent 593dbf83
No related branches found
No related tags found
No related merge requests found
Pipeline #4263 passed