NSSound and _NSAutoreleaseNoPool() - just leaking
NSSound and _NSAutoreleaseNoPool() - just leaking
- Subject: NSSound and _NSAutoreleaseNoPool() - just leaking
- From: wuffwuffware <email@hidden>
- Date: Fri, 7 Jan 2005 13:14:48 +0100
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.
Stefan
PS: I tried to wrap the code up into a small demo project with one
AppDelegate does not show the problem, so I start to suspect, that the
problem is somewhere else but not around the NSSound soundNamed even if
it only shows, when I add this line of code...
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x3157b0 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x315d50 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x3604d0 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x35fe60 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x34e9b0 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x35e760 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x311b40 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x340fc0 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x311400 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x3160d0 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x35e6e0 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x310d20 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x3f9430 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x6006970 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x35d300 of class NSCFSet autoreleased with no pool in place -
just leaking
2005-01-07 13:10:54.822 WuffDesktop[2298] *** _NSAutoreleaseNoPool():
Object 0x333ab0 of class NSCFSet autoreleased with no pool in place -
just leaking
_______________________________________________
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