mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 21:37:59 +03:00
[PR #16124] [MERGED] Fix: Resolve CA1849 synchronous IO in EpubImageProvider #14532
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/16124
Author: @Gladtbam
Created: 1/27/2026
Status: ✅ Merged
Merged: 1/28/2026
Merged by: @crobibero
Base:
master← Head:fix/epub-async-io📝 Commits (1)
c762f06fix: Resolve CA1849/CA2007 synchronous IO in EpubImageProvider📊 Changes
1 file changed (+10 additions, -8 deletions)
View changed files
📝
MediaBrowser.Providers/Books/OpenPackagingFormat/EpubImageProvider.cs(+10 -8)📄 Description
Fixes build errors related to CA1849 in .NET 10.0 builds.
Changes
Replaced synchronous ZipFile.OpenRead with ZipFile.OpenReadAsync.
Replaced synchronous ZipArchiveEntry.Open with ZipArchiveEntry.OpenAsync.
Implemented await using for IAsyncDisposable resources (Streams and ZipArchive) to prevent leaks.
Added ConfigureAwait(false) to async disposables to avoid capturing the sync context.
Issues
none
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.