<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>