On Jul 21, 2010, at 5:27 AM, Elizabeth Kellner wrote:

> First is that app in question is a cocoa app that previously was a
> command line app, and so it is *not* calling NSApplicationMain.  It
> starts its own run loop.  Although I'm calling CFRunLoopRunInMode in
> the loop, could there be some other something that I need to do in the
> run loop that would potentially cause a shutdown to cancel?

I think this is the problem.  A run loop is not an event loop.  An event loop 
is built around a run loop, but is more than that.

You should probably use -[NSApplication run] instead.  Read the class overview 
of NSApplication for some additional details.

Regards,
Ken

_______________________________________________

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

Reply via email to