Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

[fix] crash while loading bad image #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

k06a
Copy link

@k06a k06a commented Apr 23, 2015

Fixed crash for call-stack:

Thread : Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x2ac8ffef __exceptionPreprocess + 126
1  libobjc.A.dylib                0x39185c8b objc_exception_throw + 38
2  CoreFoundation                 0x2abe94a5 -[NSArray indexOfObjectIdenticalTo:]
3  CoreFoundation                 0x2abe9337 -[NSCache setObject:forKey:] + 42
4  Double                         0x0013427d -[SAMCache(UIImageAdditions) imageForKey:] (SAMCache.m:288)

. . .

-[NSCache setObject:forKey:cost:]: attempt to insert nil value (key: LKGameCenter_G:[email protected])

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant