Hi everyone,
Is it possible 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!
views:
20answers:
1
A:
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.
tc.
2010-06-28 13:13:05