diff options
author | Jakub Witczak <u3s@users.noreply.github.com> | 2021-10-29 07:51:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 07:51:07 +0200 |
commit | d76a32e454df071d2620b7947d27e221f380ecb0 (patch) | |
tree | f0b850ba116521a076196d4dfacc65911a48afc1 /system | |
parent | 2ceec7fb0bbd8eef569f955870fe1d073d0380c3 (diff) | |
parent | 0ce4c73b18793266afee570a671d299c7e7a4997 (diff) | |
download | erlang-d76a32e454df071d2620b7947d27e221f380ecb0.tar.gz |
Merge pull request #5272 from bucko909/gen_event-handle_info-EXIT
Fix #5257 - Clarify gen_event:add_sup_handler Re 'EXIT'
Diffstat (limited to 'system')
-rw-r--r-- | system/doc/design_principles/events.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/doc/design_principles/events.xml b/system/doc/design_principles/events.xml index 3b13c6a0cd..9230ff1027 100644 --- a/system/doc/design_principles/events.xml +++ b/system/doc/design_principles/events.xml @@ -227,7 +227,8 @@ ok</pre> <c>handle_info(Info, State)</c> must be implemented to handle them. Examples of other messages are exit messages, if the <c>gen_event</c> is linked to - other processes (than the supervisor) and trapping exit signals.</p> + other processes (than the supervisor, for example via + <c>add_sup_handler</c>) and trapping exit signals.</p> <code type="none"> handle_info({'EXIT', Pid, Reason}, State) -> ..code to handle exits here.. |