Skip to content

Commit 61c1a1c

Browse files
author
Molinet, Fabien
committed
InvalidateMemoryCache needs a call to InitializeIfneeded
1 parent 9f187a7 commit 61c1a1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FFImageLoading.Shared/ImageService.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ public static void LoadImage(IImageLoaderTask task)
184184
/// </summary>
185185
public static void InvalidateMemoryCache()
186186
{
187+
InitializeIfNeeded();
188+
187189
#if __ANDROID__
188190
ImageCache.Instance.Clear();
189191
#elif __IOS__

0 commit comments

Comments
 (0)