Exception/Error division in D
Jouko Koski
joukokoskispam101 at netti.fi
Fri Jun 1 09:50:25 PDT 2012
"deadalnix" <deadalnix at gmail.com> wrote:
> Le 31/05/2012 04:10, Walter Bright a écrit :
>> The correct response to a server app crashing is to restart it, not
>> attempt to keep a program in an invalid state running.
>
> Should I mention to restart it AFTER A GRACEFUL SHUTDOWN ?
No. Abort with crash dump is good way to do controlled shutdown. If there is
need for a cleanup, it is better to do it in the upcoming startup where the
program state is valid.
More information about the Digitalmars-d
mailing list