<p dir="ltr">Thank you very much Fred!</p>
<p dir="ltr">Btw gen_server's terminate is always called before gs process stops, no?</p>
<p dir="ltr">the only exceptions are:<br>
1) gs process crash<br>
2) gs is unconditionally terminated using exit(Child,kill). </p>
<p dir="ltr">In other words, gs' own terminate is internal gs business - not related to supervision tree.</p>
<p dir="ltr">?</p>