Skip to content

Commit 02c7750

Browse files
committed
only null the stdout in release builds
1 parent a4bb304 commit 02c7750

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SharpEyes/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class Program
1515
[STAThread]
1616
public static void Main(string[] args)
1717
{
18-
Console.SetOut(TextWriter.Null);
1918
AppBuilder builder = BuildAvaloniaApp();
2019
#if !DEBUG
2120
try
@@ -28,6 +27,7 @@ public static void Main(string[] args)
2827
window.GlobalExceptionHandler(e);
2928
}
3029
#else
30+
Console.SetOut(TextWriter.Null);
3131
builder.StartWithClassicDesktopLifetime(args);
3232
#endif
3333
}

0 commit comments

Comments
 (0)