Log Window - properly set logging back to the standard console output when closing
This commit is contained in:
parent
67419c980a
commit
ca862d5581
|
@ -56,7 +56,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void Detach()
|
||||
{
|
||||
Console.SetOut(TextWriter.Null);
|
||||
Console.SetOut(new StreamWriter(Console.OpenStandardOutput())
|
||||
{
|
||||
AutoFlush = true
|
||||
});
|
||||
_logStream.Close();
|
||||
_logStream = null;
|
||||
Log.HACK_LOG_STREAM = null;
|
||||
|
|
Loading…
Reference in New Issue