2 ms·
Generally terminating is a "very bad" behaviour. If you do not want it in production, better invest in ACID semantics for your application state and restore it
by AstralStorm 10y ago
Generally terminating is a "very bad" behaviour. If you do not want it in production, better invest in ACID semantics for your application state and restore it on crash.
Much more elegant than wrong behaviour, much more user friendly.
This is typical for modern mobile applications which are supposed to be killable and restartable at any time.
In other words, make application idempotent for any start condition.