Re: Major Bug in Cocoa (With sample Code!!)
Re: Major Bug in Cocoa (With sample Code!!)
- Subject: Re: Major Bug in Cocoa (With sample Code!!)
- From: Ali Ozer <email@hidden>
- Date: Sat, 4 Aug 2001 15:40:10 -0700
On Thursday, August 2, 2001, at 07:26 , Steve Gehrman wrote:
OK, I put together a sample project that shows a major bug with
forwardinvocation. The problem is that the forwardinvocation stuff
retains the objects it returns from methods and everytime you call the
method, the retain count just keeps growing. Check out the code and
you will see what I'm talking about.
This is a major pain in the ass. I structured a large part of my app
around this forwardinvocation stuff and my app hogs memory like a mofo!!
Apple, please fix soon!! (or tell me what I'm doing wrong)
Ok!! The fix should be in 10.1. I believe we intend the fix to take
effect only against apps linked with 10.1 or better, as there might be
dependencies on such a change.
Ali