[erlang-questions] supervisors, gen_server:terminate/2, and trap_exit

Imants Cekusins <>
Thu Mar 12 01:42:01 CET 2015


Thank you very much Fred!

Btw gen_server's terminate is always called before gs process stops, no?

the only exceptions are:
1) gs process crash
2) gs is unconditionally terminated using exit(Child,kill).

In other words, gs' own terminate is internal gs business - not related to
supervision tree.

?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150312/96356b33/attachment.html>


More information about the erlang-questions mailing list