On Feb 14, 2011, at 3:25 PM, jonat...@mugginsoft.com wrote: > On 14 Feb 2011, at 19:29, Olivier Lance wrote: > >> Hi Jeff, >> >> Well that's what I was afraid to learn... >> Gotta find a workaround then! >> > I don't know if this would fly or not but... > > Rather than conventionally returning NSTerminateLater you could try, assuming > your async driver calls are run loop sources, run the run loop as required > within - applicationShouldTerminate. > > This should allow you the opportunity to get a window on screen (though not > necessarily using NSRunAlertPanel), process the user response, await the > async callbacks and exit when your cleanup is done.
No, if your app does not return from applicationShouldTerminate: within a certain number of seconds, your process will simply be killed. -Jeff _______________________________________________ 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