shutdown procedure for OTP/supervisor process
Fri Apr 30 05:31:38 CEST 2004
What's the right way for having a supervisor managed process register
for a shutdown procedure? An easy way I can think of is via a linked
process that has trap_exit set and a receive that waits for the event.
Just seems like there might be a more formal way.
Specifically, I've got a crash in something that has a multicast
socket bound and I want to leave the close the port and leave the
SPY My girlfriend asked me which one I like better.
pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@REDACTED>
| Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE
L_______________________ I hope the answer won't upset her. ____________
More information about the erlang-questions