On 22 Dec 2011, at 14:03, Martin Hewitson wrote:

> 
> On 22, Dec, 2011, at 02:39 PM, Mike Abdullah wrote:
> 
>> Did you actually write this app to be dual-mode, or are you under the 
>> impression that turning off garbage collection will magically fix things?
> 
> To be honest, I wrote the app assuming garbage collection was off. I think it 
> must have got turned on by mistake, perhaps during the move to Xcode 4. Not 
> sure.
> 
> I am under the impression (according to what others have written) that 
> turning off garbage collection will stop the crashes in the garbage 
> collection queue. I think this is a reported bug, but I didn't follow that 
> thread very long. I just was surprised to find garbage collection on in the 
> app, so I switched it off. This revealed the bug, which I'd like now to fix, 
> of course.

I see. Well, turning it off will certainly fix that particular crash. But it 
doesn't surprise me at all that an app which has had the safety net of GC for a 
while will have picked up some memory management errors. The static analyzer 
may well find a lot of them.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to