Non-document app's NSWindow keeps getting retained

Scott Stevenson sstevenson at mac.com
Tue Feb 5 23:45:01 PST 2008


On Feb 5, 2008, at 7:57 PM, David Dunham wrote:

>> High retain counts are not necessarily a problem. Sometimes the  
>> frameworks may do things like that for reasons that are not obvious  
>> on the surface.
>
> True. Though continually increasing reference counts are almost  
> always bad.

That's usually true for application code, but the frameworks have a  
different set of priorities to manage, so all bets are off.

For what it's worth, it's still not clear to me from this thread of  
you're actually seeing leaks after the window is closed and you have  
released it, or if the retain counts just seem high.

     - Scott


More information about the MacOSX-dev mailing list