Merge pull request #19050 from peppy/fix-mono-fuck-off

Fix crash on mobile releases when attempting to read any file
This commit is contained in:
Dean Herbert 2022-07-09 06:01:43 +09:00 committed by GitHub
commit 200f0d9f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class LineBufferedReader : IDisposable
public LineBufferedReader(Stream stream, bool leaveOpen = false)
{
streamReader = new StreamReader(stream, Encoding.UTF8, true, -1, leaveOpen);
streamReader = new StreamReader(stream, Encoding.UTF8, true, 1024, leaveOpen);
}
/// <summary>