diff --git a/CHANGELIST.md b/CHANGELIST.md index 726f9cd6..f2fab581 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -42,6 +42,7 @@ - Tweak to previous commit for some build versions - Fix lines wiped before displayed - Update redumper to build 565 +- Close the log archive, if it exists ### 3.3.0 (2025-01-03) diff --git a/MPF.Processors/BaseProcessor.cs b/MPF.Processors/BaseProcessor.cs index 75dc294b..57cfe0ae 100644 --- a/MPF.Processors/BaseProcessor.cs +++ b/MPF.Processors/BaseProcessor.cs @@ -239,6 +239,11 @@ namespace MPF.Processors #endif } +#if NET452_OR_GREATER || NETCOREAPP + // Close the log archive, if it exists + logArchive?.Dispose(); +#endif + return missingFiles; }