mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12786] [MERGED] Ensure Skia images are always disposed #13370
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/12786
Author: @JPVenson
Created: 10/7/2024
Status: ✅ Merged
Merged: 10/17/2024
Merged by: @crobibero
Base:
master← Head:skiaDispose_master📝 Commits (9)
1d1547eAdded catch statement for otherwise undisposed bitmapsbf29020reverted stream writer494458aFixed error log2e8beeaMerge branch 'jellyfin:master' into skiaDispose_master4c0cd47fixed logline1f6ad4dAdded exception to skia handling logd101b8eFixed missing loglines875f1b0Fixed inconsistent dispose pattern9be3216Merge branch 'jellyfin:master' into skiaDispose_master📊 Changes
2 files changed (+194 additions, -130 deletions)
View changed files
📝
src/Jellyfin.Drawing.Skia/SkiaEncoder.cs(+98 -59)📝
src/Jellyfin.Drawing.Skia/SplashscreenBuilder.cs(+96 -71)📄 Description
If there are transiant errors while handing skia wrapped images, skia objects are not always disposed correctly.
Fixes:
Possible memory leaks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.