From f8d26f517246885f884bcca32fea579cc7161128 Mon Sep 17 00:00:00 2001 From: Erik Charlebois Date: Mon, 16 Dec 2013 14:41:35 -0500 Subject: [PATCH 1/2] Track current thread in downloader operation --- SDWebImage/SDWebImageDownloaderOperation.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SDWebImage/SDWebImageDownloaderOperation.m b/SDWebImage/SDWebImageDownloaderOperation.m index cb1cba76..4d4f94e0 100644 --- a/SDWebImage/SDWebImageDownloaderOperation.m +++ b/SDWebImage/SDWebImageDownloaderOperation.m @@ -85,6 +85,7 @@ self.executing = YES; self.connection = [NSURLConnection.alloc initWithRequest:self.request delegate:self startImmediately:NO]; + self.thread = [NSThread currentThread]; } [self.connection start]; From 00918d09087af06a056de54c58bbc20d99925d4e Mon Sep 17 00:00:00 2001 From: Erik Charlebois Date: Mon, 16 Dec 2013 14:45:30 -0500 Subject: [PATCH 2/2] Fix documentation param name mismatch --- SDWebImage/SDImageCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/SDImageCache.h b/SDWebImage/SDImageCache.h index 4ed19f2a..5c8d8147 100644 --- a/SDWebImage/SDImageCache.h +++ b/SDWebImage/SDImageCache.h @@ -91,7 +91,7 @@ typedef enum SDImageCacheType SDImageCacheType; * * @param image The image to store * @param recalculate BOOL indicates if imageData can be used or a new data should be constructed from the UIImage - * @param data The image data as returned by the server, this representation will be used for disk storage + * @param imageData The image data as returned by the server, this representation will be used for disk storage * instead of converting the given image object into a storable/compressed image format in order * to save quality and CPU * @param key The unique image cache key, usually it's image absolute URL