ctrl+c and destructors
monarch_dodra
monarchdodra at gmail.com
Tue Oct 1 12:55:16 PDT 2013
On Tuesday, 1 October 2013 at 03:58:04 UTC, Nick Sabalausky wrote:
> You know, this sounds like something that really should fall
> squarely in
> the category of "do the right thing by default". Is there any
> reason
> druntime can't be made to handle this better by default?
Well, arguably, a segfault is a catastrophic error, even more
serious than an assert.
I'm not sure what "the right thing" would even be, apart from
dying right there and then...?
Even just throwing an error could be problematic (AFAIK).
More information about the Digitalmars-d
mailing list