mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Set autoflush, just in case
This commit is contained in:
@@ -30,7 +30,7 @@ namespace SabreTools.Reports
|
|||||||
{
|
{
|
||||||
var fs = File.Create(filename);
|
var fs = File.Create(filename);
|
||||||
if (fs != null)
|
if (fs != null)
|
||||||
_writer = new StreamWriter(fs);
|
_writer = new StreamWriter(fs) { AutoFlush = true };
|
||||||
|
|
||||||
_baddumpCol = baddumpCol;
|
_baddumpCol = baddumpCol;
|
||||||
_nodumpCol = nodumpCol;
|
_nodumpCol = nodumpCol;
|
||||||
@@ -47,7 +47,7 @@ namespace SabreTools.Reports
|
|||||||
if (!stream.CanWrite)
|
if (!stream.CanWrite)
|
||||||
throw new ArgumentException(nameof(stream));
|
throw new ArgumentException(nameof(stream));
|
||||||
|
|
||||||
_writer = new StreamWriter(stream);
|
_writer = new StreamWriter(stream) { AutoFlush = true };
|
||||||
_baddumpCol = baddumpCol;
|
_baddumpCol = baddumpCol;
|
||||||
_nodumpCol = nodumpCol;
|
_nodumpCol = nodumpCol;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user