Browse Source

FlushBuffer instead of Flush on Close

Brian Fiete 5 months ago
parent
commit
36d2bb69f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BeefLibs/corlib/src/IO/BufferedStream.bf

+ 1 - 1
BeefLibs/corlib/src/IO/BufferedStream.bf

@@ -177,7 +177,7 @@ namespace System.IO
 
 		public override Result<void> Close()
 		{
-			let ret = Flush();
+			let ret = FlushBuffer();
 			
 			mPos = 0;
 			mBufferPos = -Int32.MinValue;