Ensure the stream is flushed - this is important for MemoryAccessor which allocates buffers larger than the actual data size
This commit is contained in:
parent
7c2ed47d92
commit
7d832b6143
@ -128,6 +128,7 @@ namespace UniversalEditor
|
||||
objectModel.Accessor = document.OutputAccessor;
|
||||
document.OutputAccessor.Open();
|
||||
document.Save();
|
||||
document.OutputAccessor.Flush();
|
||||
if (autoClose) document.OutputAccessor.Close();
|
||||
return document;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user