NSStatusItem "functional anomaly"?
NSStatusItem "functional anomaly"?
- Subject: NSStatusItem "functional anomaly"?
- From: petite_abeille <email@hidden>
- Date: Mon, 29 Sep 2003 12:03:52 +0200
Hello,
I'm experimenting with NSStatusBar and NSStatusItem to provide a small
menu to start and stop a background process... everything works fairly
well... but... if I set my NSMenuItem to send a @selector(stop:)
everything breaks down unceremoniously:
*** _NSAutoreleaseNoPool(): Object 0x9a810 of class NSCFArray
autoreleased with no pool in place - just leaking
*** _NSAutoreleaseNoPool(): Object 0x46ffc0 of class NSStatusBarWindow
autoreleased with no pool in place - just leaking
On the other hand, if the selector is named anything else (e.g.
'stopApp:')... everything works just fine... no seizure... is that an
"hidden" feature? Am I missing something obvious?
Thanks.
Cheers,
PA.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.