Is it possible开发者_StackOverflow社区 that a CADisplayLink gets called one or two more times even after being invalidated?
It looks that way to me, and this is causing me a problem because the target object is called where it's already gone so it crashes. Thanks!According to the docs, "The newly constructed display link retains the target." so it shouldn't crash in any case.
EDIT: Try setting the environment variables NSZombieEnabled=YES and NSDeallocateZombies=NO (the latter is the default, apparently), which may help debug the crash.
精彩评论