<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Max, Loïc,</div><div>Thank you for confirming my thoughts.</div><div><br></div><div>Best,</div><div>r.<br><br><br></div><div><br>On 10/gen/2015, at 12:01, Max Lapshin <<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra">terminate should never be used as a reliable callback.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Our production-tested gen_tracker registrator: <a href="https://github.com/erlyvideo/gen_tracker">https://github.com/erlyvideo/gen_tracker</a>  adds  after_terminate callback</div><div class="gmail_extra">that will be called with some metadata _after_ process dies.</div><div class="gmail_extra"><br></div><div class="gmail_extra">But your case will be handled automatically in gen_tracker and in gproc.</div><div class="gmail_extra"><br></div></div>
</div></blockquote></body></html>