We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ec9b5 commit 354b04bCopy full SHA for 354b04b
Flow.Launcher/Helper/WallpaperPathRetrieval.cs
@@ -50,6 +50,7 @@ public static Brush GetWallpaperBrush()
50
}
51
52
int originalWidth, originalHeight;
53
+ // Use `using ()` instead of `using var` sentence here to ensure the wallpaper file is not locked
54
using (var fileStream = File.OpenRead(wallpaperPath))
55
{
56
var decoder = BitmapDecoder.Create(fileStream, BitmapCreateOptions.DelayCreation, BitmapCacheOption.None);
0 commit comments