mirror of
https://github.com/zhigang1992/PINRemoteImage.git
synced 2026-03-27 17:44:16 +08:00
Without this, the system is likely caching our NSURLResponses which means double caching :( (#219)
This commit is contained in:
@@ -185,7 +185,7 @@ static dispatch_once_t sharedDispatchToken;
|
||||
if (self = [super init]) {
|
||||
self.cache = [self defaultImageCache];
|
||||
if (!configuration) {
|
||||
configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
|
||||
configuration = [NSURLSessionConfiguration ephemeralSessionConfiguration];
|
||||
}
|
||||
_callbackQueue = dispatch_queue_create("PINRemoteImageManagerCallbackQueue", DISPATCH_QUEUE_CONCURRENT);
|
||||
_lock = [[PINRemoteLock alloc] initWithName:@"PINRemoteImageManager"];
|
||||
|
||||
Reference in New Issue
Block a user