[erlang-questions] simple_one_for_one supervisor: strange error when stopping node
Tue Dec 20 22:16:07 CET 2016
I’m seeing this intermittent error when stopping my Erlang node with
2016-12-20 22:00:11 =SUPERVISOR REPORT====
2016-12-20 22:00:11.069 [error] <0.162.0> Supervisor server_sock_sup had
child client_sock started with client_sock start_link() at undefined exit
with reason noproc in context shutdown_error
The client_sock is a gen_server which traps exit.
It’s supervised by server_sock_sup as a simple_one_for_one.
I’ve also tried without trapping exit in client_sock and was also able to
notice this error.
Can someone please explain me what I’m doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions