804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
|
length: bufferLength
runLoopMode: runLoopMode];
}
- (void)of_cleanUpCache
{
void *pool = objc_autoreleasePoolPush();
OFTimeInterval now = [OFDate date].timeIntervalSince1970;
OFMutableArray *removeList;
if (now - _lastCacheCleanup < 1)
return;
_lastCacheCleanup = now;
removeList = [OFMutableArray arrayWithCapacity: _cache.count];
|
|
|
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
|
length: bufferLength
runLoopMode: runLoopMode];
}
- (void)of_cleanUpCache
{
void *pool = objc_autoreleasePoolPush();
OFTimeInterval now = [[OFDate date] timeIntervalSince1970];
OFMutableArray *removeList;
if (now - _lastCacheCleanup < 1)
return;
_lastCacheCleanup = now;
removeList = [OFMutableArray arrayWithCapacity: _cache.count];
|