[erlang-questions] simple_one_for_one child not restarting

Jacob Vorreuter jacob.vorreuter@REDACTED
Thu Dec 23 01:24:57 CET 2010


*facepalm*

Thank you

On Dec 22, 2010, at 4:17 PM, Tomasz Maciejewski wrote:

> Dnia 23-12-2010 o 01:08:05 Jacob Vorreuter <jacob.vorreuter@REDACTED> napisał(a):
> 
>> Am I doing it wrong?
> 
> 
> You don't link the worker process to the supervisor.
> 
> test:erl:
> 
> 6  start_link() ->
> 7      gen_server:start(?MODULE, [], []).
> 
> 
> Use gen_server:start_link() instead.
> 
> -- 
> Tomasz Maciejewski
> 
> ________________________________________________________________
> 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