A following register read (after exit from the function) could bypass the write buffer.
Attach a file by drag & drop or click to upload