diff options
author | James Fish <[email protected]> | 2015-03-04 23:10:25 +0000 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2015-05-26 12:27:15 +0200 |
commit | 000c33662b8a98870a97a3499076895d4e832563 (patch) | |
tree | 011cccbc70aaf650c153c3eb7ffbf6ac3a944b9b /lib/orber/examples | |
parent | 4034b89a07a97766dba5e6213b1eb4d76ba6df9e (diff) | |
download | otp-000c33662b8a98870a97a3499076895d4e832563.tar.gz otp-000c33662b8a98870a97a3499076895d4e832563.tar.bz2 otp-000c33662b8a98870a97a3499076895d4e832563.zip |
Don't store child that returns ignore in simple supervisor
If a child of a simple_one_for_one returns ignore from its start
function no longer store the child for any restart type. It is not
possible to restart or delete the child because the supervisor is a
simple_one_for_one.
Previously a simple_one_for_one would crash, potentially without
shutting down all of its children, when it tried to shutdown a child
with undefined pid.
Previous only one undefined pid child was stored in a simple_one_for_one
supervisor no matter how many times the child start function returned
ignore.
Diffstat (limited to 'lib/orber/examples')
0 files changed, 0 insertions, 0 deletions