diff --git a/SDWebImage/SDWebImageManager.m b/SDWebImage/SDWebImageManager.m index 250f6128..e06536e3 100644 --- a/SDWebImage/SDWebImageManager.m +++ b/SDWebImage/SDWebImageManager.m @@ -416,7 +416,9 @@ static id _defaultImageLoader; } if (mutableContext.count > 0) { - [mutableContext addEntriesFromDictionary:context]; + if (context) { + [mutableContext addEntriesFromDictionary:context]; + } context = [mutableContext copy]; }