[erlang-questions] "simple_one_for_one" supervisor childs termination problem

Matthew Sackman matthew@REDACTED
Tue Nov 30 13:59:31 CET 2010


On Tue, Nov 30, 2010 at 01:40:09PM +0100, zabrane Mikael wrote:
> I forgot to mention that I'm already traping exit in "foo_srv.erl":
> %% --- gen server callbacks
> init(Args) ->
>     process_flag(trap_exit, true),
>     {ok, Args}.
> 
> Even with that, the worker process never get the "shutdown" EXIT message.

That's odd then. That should only happen if there's a
brutal_kill/exit(kill) going on.

Matthew


More information about the erlang-questions mailing list