mirror of
https://github.com/zhigang1992/PINRemoteImage.git
synced 2026-04-28 20:25:13 +08:00
Without this, the system is likely caching our NSURLResponses which means double caching :(
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