• 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: NSScroller revision?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScroller revision?


  • Subject: Re: NSScroller revision?
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 25 Apr 2014 14:22:37 -0700

On Fri, Apr 25, 2014, at 01:16 PM, edward taffel wrote:
> thanks kyle,
>
> if this were the case, i should expect to see the same report for both
> scrollers;

Not necessarily. If they were both deallocated on the same background
thread, then there's only one thread with a dangling CATransaction to
complain about.

> as they are allocated & released at the same code points, & i
> don’t pass the references around. but, i’ll do some checking to be sure.
>

One insidious possibility is a block submitted to a background queue via
dispatch_async that captures a reference to some object that has a chain
of pointers that winds up at a view. For example, NSDocument is a prime
contender: it itself doesn't have any UI, but it owns its window
controllers, which own their windows, which own their view hierarchies.
If an NSDocument is deallocated on a background thread, the views might
be deallocated on a background thread as well.

--Kyle Sluder

_______________________________________________

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


References: 
 >NSScroller revision? (From: edward taffel <email@hidden>)
 >Re: NSScroller revision? (From: Kyle Sluder <email@hidden>)
 >Re: NSScroller revision? (From: edward taffel <email@hidden>)

  • Prev by Date: Converting from RTF to HTML misses out image tags
  • Next by Date: Re: NSToolbarItem Action Not Passed to NSButton...
  • Previous by thread: Re: NSScroller revision?
  • Next by thread: Fwd: NSScroller revision?
  • Index(es):
    • Date
    • Thread