Skip to content

Commit

Permalink
InvalidateMemoryCache needs a call to InitializeIfneeded
Browse files Browse the repository at this point in the history
  • Loading branch information
Molinet, Fabien committed Aug 13, 2015
1 parent 9f187a7 commit 61c1a1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FFImageLoading.Shared/ImageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ public static void LoadImage(IImageLoaderTask task)
/// </summary>
public static void InvalidateMemoryCache()
{
InitializeIfNeeded();

#if __ANDROID__
ImageCache.Instance.Clear();
#elif __IOS__
Expand Down

0 comments on commit 61c1a1c

Please sign in to comment.