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

Imants Cekusins imantc@REDACTED
Thu Mar 12 02:10:17 CET 2015

> gs' own terminate is internal gs business - not related to supervision

This may not sound quite right so I'll illustrate:

Even if gs instance G is started via gs:start by any process (not
necessarily a sup), G's terminate would still be called - let's say, after
G's handle_cast returns {stop, normal, State}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150312/56bb9321/attachment.htm>

More information about the erlang-questions mailing list