Skip to content

Commit 7fd7cdf

Browse files
committed
Fix the KVO issue when we already handle the cases
1 parent 09b4829 commit 7fd7cdf

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

SDWebImageLinkPlugin/Classes/SDImageLinkLoader.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N
247247
if (progressBlock) {
248248
progressBlock(progress.completedUnitCount, progress.totalUnitCount, url);
249249
}
250-
} else {
251-
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
252250
}
253251
} else {
254252
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];

0 commit comments

Comments
 (0)