File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ + (LBCacheManager *) sharedInstance
6868 [[NSNotificationCenter defaultCenter ] addObserver: lbInstance selector: @selector (memoryWarningAction: ) name: UIApplicationDidReceiveMemoryWarningNotification object: [UIApplication sharedApplication ]];
6969 [[NSNotificationCenter defaultCenter ] addObserver: lbInstance selector: @selector (memoryWarningAction: ) name: UIApplicationWillTerminateNotification object: [UIApplication sharedApplication ]];
7070
71- [[NSNotificationCenter defaultCenter ] addObserver: lbInstance selector: @selector (increaseDownloadImageCount: ) name: LBCacheDownloadImageStartedNotification object: self ];
72- [[NSNotificationCenter defaultCenter ] addObserver: lbInstance selector: @selector (decreaseDownloadImageCount: ) name: LBCacheDownloadImageStoppedNotification object: self ];
71+ [[NSNotificationCenter defaultCenter ] addObserver: lbInstance selector: @selector (increaseDownloadImageCount: ) name: LBCacheDownloadImageStartedNotification object: nil ];
72+ [[NSNotificationCenter defaultCenter ] addObserver: lbInstance selector: @selector (decreaseDownloadImageCount: ) name: LBCacheDownloadImageStoppedNotification object: nil ];
7373
7474 lbInstance.barrierQueue = dispatch_queue_create (" com.lucianboboc.LBCache.BarrierQueue" , DISPATCH_QUEUE_CONCURRENT);
7575
You can’t perform that action at this time.
0 commit comments