From 0b5291517f07ad4b7528aa8141b257343221471b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Wed, 17 Apr 2013 16:31:04 +0300 Subject: [PATCH] Fix completionBlock setter semantics Using `SDDispatchQueueSetterSementics`, which might be `assign` for a block is a terrible idea. --- SDWebImage/SDWebImagePrefetcher.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImagePrefetcher.m b/SDWebImage/SDWebImagePrefetcher.m index e1c188c9..c029e8d9 100644 --- a/SDWebImage/SDWebImagePrefetcher.m +++ b/SDWebImage/SDWebImagePrefetcher.m @@ -17,7 +17,7 @@ @property (assign, nonatomic) NSUInteger skippedCount; @property (assign, nonatomic) NSUInteger finishedCount; @property (assign, nonatomic) NSTimeInterval startedTime; -@property (SDDispatchQueueSetterSementics, nonatomic) void (^completionBlock)(NSUInteger, NSUInteger); +@property (copy, nonatomic) void (^completionBlock)(NSUInteger, NSUInteger); @end