Safely disposing GIF-related memory resources

This commit is contained in:
ema
2024-12-20 22:48:30 +08:00
parent 5220b0b5d8
commit df00f41765
2 changed files with 11 additions and 13 deletions

View File

@@ -28,8 +28,7 @@ namespace QuickLook.Plugin.ImageViewer;
public class MetaProvider
{
private readonly SortedDictionary<string, (string, string)> _cache =
new SortedDictionary<string, (string, string)>(); // [key, [label, value]]
private readonly SortedDictionary<string, (string, string)> _cache = []; // [key, [label, value]]
private readonly string _path;