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 .