Re: @synchronized crashing with ARC
Re: @synchronized crashing with ARC
- Subject: Re: @synchronized crashing with ARC
- From: Antonio Nunes <email@hidden>
- Date: Thu, 31 May 2012 18:52:30 +0100
On 31 May 2012, at 17:00, Jens Alfke wrote:
> Huh? I thought the parameter to @synchronized(…) had to be an object reference?
Well, yes, but my understanding was/is that it was essentially about the pointer, and this formula worked just fine until I migrated to ARC. I think Scott is right that ARC expects a memory managed object and that is not what I was supplying. No trouble changing it to a more traditional reference, and that appears to work.
-António
-----------------------------------------
Accepting others as they are
brings a wonderful freedom
to your own mind.
--The Peace Formula
-----------------------------------------
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden