• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSInvocation crashes in AutoreleasePool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInvocation crashes in AutoreleasePool


  • Subject: Re: NSInvocation crashes in AutoreleasePool
  • From: Scott Ribe <email@hidden>
  • Date: Wed, 22 Oct 2014 12:02:02 -0600

On Oct 22, 2014, at 11:46 AM, Gerriet M. Denkmann <email@hidden> wrote:
>
> But how to fix this?

ARC expects a retained pointer; I'd retain it.

Things can get weird when calling across boundaries like NSInvocation, or function pointers, or whatever. Even weirder when the calls go between different threads. Caution, and the occasional "special technique", are required.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

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


  • Follow-Ups:
    • Re: NSInvocation crashes in AutoreleasePool
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >NSInvocation crashes in AutoreleasePool (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: Greg Parker <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: NSInvocation crashes in AutoreleasePool
  • Next by Date: Re: NSInvocation crashes in AutoreleasePool
  • Previous by thread: Re: NSInvocation crashes in AutoreleasePool
  • Next by thread: Re: NSInvocation crashes in AutoreleasePool
  • Index(es):
    • Date
    • Thread