Skip to content

Commit 3623e11

Browse files
committed
add configureAwait(false) in SliceExtra ImageCache
1 parent 653dc83 commit 3623e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Infrastructure/Image/ImageCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async void SliceExtra()
7070
// This is done so that we don't constantly perform this resizing operation and also maintain the image cache size at the same time
7171
if (Data.Count > permissibleFactor * MaxCached)
7272
{
73-
await semaphore.WaitAsync();
73+
await semaphore.WaitAsync().ConfigureAwait(false);
7474
// To delete the images from the data dictionary based on the resizing of the Usage Dictionary
7575
// Double Check to avoid concurrent remove
7676
if (Data.Count > permissibleFactor * MaxCached)

0 commit comments

Comments
 (0)