YYCache
YYCache copied to clipboard
SIGSEGV crash [YYMemoryCache setObject:forKey:withCost:] (YYMemoryCache.m:)
看堆栈,有字典和数组的dealloc函数调用,目测是这里的崩溃:
if (!object) { [self removeObjectForKey:key]; return; }
不过不太明白为什么会有野指针访问?