[erlang-questions] "simple_one_for_one" supervisor childs termination problem
Tue Nov 30 13:42:17 CET 2010
> Yeah, but trapping exits is not normally a good idea. Zabrane probably
> wants to use Rabbit's supervisor2  which adds
> simple_one_for_one_terminate which is the same as simple_one_for_one
> except children are killed off as per the indicated shutdown spec (see
> man supervisor).
>  http://hg.rabbitmq.com/rabbitmq-server/file/default/src/supervisor2.erl
I'll give this a try as I'm already using "gen_server2" (from RabbitMQ).
Thanks for the pointer.
More information about the erlang-questions