[erlang-questions] Can gen_fsm be restarted by a supervisor with state data kept?

Bengt Kleberg bengt.kleberg@REDACTED
Wed Jul 31 09:20:07 CEST 2013


The FSM has crashed. Is it really a good idea to start it with the same
state data?


On Wed, 2013-07-31 at 14:41 +0800, Barco You wrote:
> Dear All,
> I have a gen_fsm instance which is supervised by a supervisor. The
> gen_fsm instance sometimes crashed and then restarted by the
> supervisor, but the state data was reinitialized. How can I restart
> this instance with the state data it has at crash point?
> Thank you.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list