Object not dealloc'ed when using ARC + NSZombieEnabled
||Product Version:||XCode 4.3|
06-Dec-2011 03:27 PM Russell Johnson:
When compiling with ARC with Zombie Objects Enabled an object allocated in a secondary view controller is not deallocated when the secondary view controller is deallocated.
Steps to Reproduce:
The problem will reproduce in the simulator and on devices. Run the sample project do the following steps.
1) Tap the 'info' button to flip to the secondary view controller
2) Notice the NSLog message that the actions controller was initialized
3) Tap the 'done' button to flip back to the root view controller
The actions controller should be deallocated and you see this in an NSLog message
With the Zombie Objects Enabled setting OFF you will see an NSLog message that the actions controller was deallocated. With Zombie Objects Enabled set to ON the actions controller is not deallocated.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!