FROM : j o a r
DATE : Wed Apr 06 17:05:38 2005
On 2005-04-06, at 16.52, M. Uli Kusterer wrote:
> If you have such a one-time-leak, that is okay, because it's intended.
Singleton objects should not be considered leaked, they are (or should
be) referenced from their static variables.
> OTOH if you get this leak each time you use NSFileManager, then that
> sounds like a bug (unless it isn't just the autorelease pool gaining
> some items ... those will go away as soon as the current autorelease
> pool is released.
Agreed.
j o a r
DATE : Wed Apr 06 17:05:38 2005
On 2005-04-06, at 16.52, M. Uli Kusterer wrote:
> If you have such a one-time-leak, that is okay, because it's intended.
Singleton objects should not be considered leaked, they are (or should
be) referenced from their static variables.
> OTOH if you get this leak each time you use NSFileManager, then that
> sounds like a bug (unless it isn't just the autorelease pool gaining
> some items ... those will go away as soon as the current autorelease
> pool is released.
Agreed.
j o a r
| Related mails | Author | Date |
|---|---|---|
| mail4 | Apr 6, 14:55 | |
| M. Uli Kusterer | Apr 6, 16:52 | |
| j o a r | Apr 6, 17:05 |






Cocoa mail archive

