<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 7 Sep 2019 at 15:11, Guilherme Andrade <<a href="mailto:g@gandrade.net">g@gandrade.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div>This way it won't be interpreted as a crash but still be returned to whomever called `gen_server:start_link`.<br></div></blockquote><div><br></div><div>(Assuming that, if you're launching the gen_server under a supervisor, its child specification declares `restart` as either `transient` or `temporary`.)<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 2 Sep 2019 at 10:04, Aleksey Kluchnikov <<a href="mailto:kluchnikovas@gmail.com" target="_blank">kluchnikovas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi</div><div><br></div><div>look at <a href="https://github.com/erlang/otp/blob/maint-22/lib/stdlib/src/gen_server.erl" target="_blank">https://github.com/erlang/otp/blob/maint-22/lib/stdlib/src/gen_server.erl</a> line 337-371</div><div>gen_server:init/1 hasn`t {normal, Reply} answer.</div><div>It will be pretty good have gen_server:start/start_link normal reply without exit CRASH REPLY</div><div><span class="gmail-m_-1194355525143851163gmail-m_-3311396458677860099gmail-tlid-translation gmail-m_-1194355525143851163gmail-m_-3311396458677860099gmail-translation" lang="en"><span title="" class="gmail-m_-1194355525143851163gmail-m_-3311396458677860099gmail-">What do you think of it?</span></span></div></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_-1194355525143851163gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Guilherme<br></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Guilherme<br></div></div></div></div></div></div></div>