> On Jul 14, 2017, at 8:51 AM, Alex Zavatone <[email protected]> wrote:
> 
> 
>> On Jul 14, 2017, at 5:50 AM, Jeremy Hughes <[email protected]> 
>> wrote:
>> 
>>> On 12 Jul 2017, at 17:41, Jens Alfke <[email protected]> wrote:
>>> 
>>>> On Jul 12, 2017, at 9:34 AM, Jeremy Hughes <[email protected]> 
>>>> wrote:
>>>> 
>>>> // Prints "Why is childReference not nil?”
>>> 
>>> There may still be a reference in the autorelease pool. Check 
>>> childReference again ‘later’, i.e. on the next user event or after a 
>>> timer/delayed-perform.
>> 
>> Jens is correct. Here’s a modified version of the playground code that adds 
>> an autorelease pool:
> 
> In the interest of getting more of a clue in regards to these items, is it 
> possible to examine the autorelease pools?
> 
> Alex Zavatone

No, autorelease pools have always been maddeningly opaque. You can examine a 
particular object in Instruments though, to see when it’s been autoreleased.

Charles

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to