Re: NSSound and _NSAutoreleaseNoPool() - just leaking
Re: NSSound and _NSAutoreleaseNoPool() - just leaking
- Subject: Re: NSSound and _NSAutoreleaseNoPool() - just leaking
- From: "M. Uli Kusterer" <email@hidden>
- Date: Fri, 7 Jan 2005 19:32:22 +0100
At 13:14 Uhr +0100 07.01.2005, wuffwuffware wrote:
Dear list,
I am adding the following line of code to my project:
_endSound = [[NSSound soundNamed: @"timerAlong"] retain];
and when I terminate my application I end up with the messages below
in the console. The number of sounds I load does not matter.
Removing this one line and the messages dont show up when I call
[NSApp terminate: nil].
Wrapping the _endSound into a NSAutoreleasePool did not help.
Any pointer how to tackle the problem is greatly welcome.
Set a breakpoint on "fprintf" or "_NSAutoreleasePool", then you'll
enter the debugger whenever it happens.
To set a breakpoint on a system API, set a breakpoint in main(). Once
you're there, bring up the debugger console (where it says "(gdb)")
and enter e.g. "fb fprintf".
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden