mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
add configureAwait(false) in SliceExtra ImageCache
This commit is contained in:
parent
653dc83bd0
commit
3623e119d2
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ namespace Flow.Launcher.Infrastructure.Image
|
|||
// This is done so that we don't constantly perform this resizing operation and also maintain the image cache size at the same time
|
||||
if (Data.Count > permissibleFactor * MaxCached)
|
||||
{
|
||||
await semaphore.WaitAsync();
|
||||
await semaphore.WaitAsync().ConfigureAwait(false);
|
||||
// To delete the images from the data dictionary based on the resizing of the Usage Dictionary
|
||||
// Double Check to avoid concurrent remove
|
||||
if (Data.Count > permissibleFactor * MaxCached)
|
||||
|
|
|
|||
Loading…
Reference in a new issue