Drop the unnecessary initial capacity from the list. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
@@ -156,7 +156,7 @@ public class TranscodingSegmentCleaner : IDisposable
}
catch (IOException ex)
{
- (exs ??= new List<Exception>(4)).Add(ex);
+ (exs ??= new List<Exception>()).Add(ex);
_logger.LogDebug(ex, "Error deleting HLS segment file {Path}", file);
@@ -321,7 +321,7 @@ public sealed class TranscodeManager : ITranscodeManager, IDisposable
_logger.LogError(ex, "Error deleting HLS file {Path}", file);