Code cleanup

This commit is contained in:
Stone_Red
2026-03-04 18:12:08 +01:00
parent 9e9123f58d
commit 9813426f06
5 changed files with 8 additions and 12 deletions
+3 -5
View File
@@ -170,11 +170,9 @@ internal class AsyncStreamReader : IDisposable
byteBuffer = null;
charBuffer = null;
}
if (eofEvent != null)
{
eofEvent.Close();
eofEvent = null;
}
eofEvent?.Close();
eofEvent = null;
}
private void Init(Stream stream, UserCallBack callback, Encoding encoding, int bufferSize)