Removed all usage of ForceFlush

This commit is contained in:
Eric Fontana
2015-04-29 09:55:47 -04:00
parent 6db530b526
commit 091fe9e7e4
2 changed files with 2 additions and 4 deletions

View File

@@ -63,8 +63,7 @@ namespace TimberWinR.TestGenerator
// This text is always added, making the file longer over time // This text is always added, making the file longer over time
// if it is not deleted. // if it is not deleted.
using (StreamWriter sw = File.AppendText(logFilePath)) using (StreamWriter sw = File.AppendText(logFilePath))
{ {
sw.AutoFlush = true;
for (int i = 0; i < parms.NumMessages; i++) for (int i = 0; i < parms.NumMessages; i++)
{ {
JObject o = new JObject JObject o = new JObject

View File

@@ -64,8 +64,7 @@ namespace TimberWinR.TestGenerator
// This text is always added, making the file longer over time // This text is always added, making the file longer over time
// if it is not deleted. // if it is not deleted.
using (StreamWriter sw = File.AppendText(logFilePath)) using (StreamWriter sw = File.AppendText(logFilePath))
{ {
// sw.AutoFlush = true;
for (int i = 0; i < parms.NumMessages; i++) for (int i = 0; i < parms.NumMessages; i++)
{ {
JObject o = new JObject JObject o = new JObject