ibireme hace 9 años
padre
commit
eba4f97585
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      YYCache/YYMemoryCache.m

+ 0 - 1
YYCache/YYMemoryCache.m

@@ -472,7 +472,6 @@ static inline dispatch_queue_t YYMemoryCacheGetReleaseQueue() {
     _YYLinkedMapNode *node = CFDictionaryGetValue(_lru->_dic, (__bridge const void *)(key));
     if (node) {
         [_lru removeNode:node];
-        _YYLinkedMapNode *node = [_lru removeTailNode];
         if (_lru->_releaseAsynchronously) {
             dispatch_queue_t queue = _lru->_releaseOnMainThread ? dispatch_get_main_queue() : YYMemoryCacheGetReleaseQueue();
             dispatch_async(queue, ^{