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

zabrane Mikael zabrane3@REDACTED
Tue Nov 30 14:05:44 CET 2010


Hi Matthew,

It works like a charm with supervisor2.
You save my day ;-) Thousand thanks.

-- 
Regards
Zabrane

2010/11/30 Matthew Sackman <matthew@REDACTED>:
> 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
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list