Re: Exiting non-POSIX threads?
Re: Exiting non-POSIX threads?
- Subject: Re: Exiting non-POSIX threads?
- From: Graham Cox <email@hidden>
- Date: Tue, 30 Jul 2013 19:26:46 +0200
On 30/07/2013, at 5:20 PM, Ken Thomases <email@hidden> wrote:
> The fact that AppKit continues after catching an exception at the top level is not great behavior to be emulating. It often hides errors which would be revealed and fixed more promptly if they caused the app to crash.
Hmmm, that's a *very* contentious statement. How often have you encountered an unexpected exception from some low-level code you don't own under circumstances you can't control? If your app crashed every time you'd soon have a reputation for unreliability that is in all probability undeserved. On balance it's better to carry on with some minor glitch than "quit unexpectedly". I guess if you are really concerned about this, install your own top-level handler.
JM2¢W
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden