That may be the problem as this is a UIAgent and not a real GUI. The only GUI that appears is when you first open it or you open it again to change settings. I have many other types of notifications I'm listening for such as carbon events and accessibility events, but I don't know if they are added to the main event loop. I think I'm happy with just adding a autorelease pool and draining it at the end, I was just wondering what the problem could be. I'll test the idea by opening a UI after I get some stuff in the pool.
On Feb 18, 2011, at 8:20 PM, Ken Thomases wrote: > Is your application getting any real GUI-style events, or is it only > receiving the distributed notifications? It's very possible that the main > event loop's autorelease pool is only drained after processing a real event > and not necessarily for every thing that's called out for a run loop source. > > Regards, > Ken >
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com