From 8d99d9589b911aca0e0e1decd0459f8fb8e5b00b Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Sun, 5 May 2019 16:26:06 -0500 Subject: [PATCH] Adjusted logging --- IPA.Loader/Logging/Printers/GZFilePrinter.cs | 6 +++--- IPA.Loader/Logging/StandardLogger.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/IPA.Loader/Logging/Printers/GZFilePrinter.cs b/IPA.Loader/Logging/Printers/GZFilePrinter.cs index 94f095e7..f4d3e034 100644 --- a/IPA.Loader/Logging/Printers/GZFilePrinter.cs +++ b/IPA.Loader/Logging/Printers/GZFilePrinter.cs @@ -96,12 +96,12 @@ namespace IPA.Logging.Printers FileWriter.Flush(); zstream.Flush(); fstream.Flush(); - FileWriter.Close(); - zstream.Close(); - fstream.Close(); FileWriter.Dispose(); zstream.Dispose(); fstream.Dispose(); + FileWriter = null; + zstream = null; + fstream = null; } /// diff --git a/IPA.Loader/Logging/StandardLogger.cs b/IPA.Loader/Logging/StandardLogger.cs index a046a787..cb8286b7 100644 --- a/IPA.Loader/Logging/StandardLogger.cs +++ b/IPA.Loader/Logging/StandardLogger.cs @@ -239,7 +239,7 @@ namespace IPA.Logging private static StandardLogger loggerLogger; - private const int LogCloseTimeout = 500; + private const int LogCloseTimeout = 250; /// /// The log printer thread for .