The save game code saves to temporary files. After that completes successfully, the temporary files are moved to replace the active files. This is simple code.
I suspect a file operation is not really finished when shutting down, perhaps due to buffered IO. I added code to flush those buffers before finishing. It may fix the issue.
I suspect a file operation is not really finished when shutting down, perhaps due to buffered IO. I added code to flush those buffers before finishing. It may fix the issue.