I have a supervisor which should start simple_one_for_one
workers. When I call start_child()
for the first time, everything goes excellent. But, when I do it the second time, I get {error,{already_started,<0.71.0>}}
. Why would simple_one_for_one
supervisor return me a already_started
? What am I missing?
Here is the code: supervisor, worker.