diff options
author | Siri Hansen <[email protected]> | 2017-03-02 12:36:37 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-03-02 12:36:37 +0100 |
commit | 0255a4be4cdf2dbb4f735e13e3b28751be25c138 (patch) | |
tree | fbfe8a3511160f76d528c712eb0cf63044eb36ee /lib/stdlib/src | |
parent | bf737f7a5f335ebbbd6f9c2062ae78ca644572f9 (diff) | |
parent | 7d457490f786faef4ab02c300a1e69c21a6aeb21 (diff) | |
download | otp-0255a4be4cdf2dbb4f735e13e3b28751be25c138.tar.gz otp-0255a4be4cdf2dbb4f735e13e3b28751be25c138.tar.bz2 otp-0255a4be4cdf2dbb4f735e13e3b28751be25c138.zip |
Merge branch 'siri/sys/get_modules/ERL-367/OTP-14248' into maint
* siri/sys/get_modules/ERL-367/OTP-14248:
Correct documentation of get_modules message
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/gen_event.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/gen_event.erl b/lib/stdlib/src/gen_event.erl index ccacf658e9..e55cdddb9a 100644 --- a/lib/stdlib/src/gen_event.erl +++ b/lib/stdlib/src/gen_event.erl @@ -742,7 +742,7 @@ stop_handlers([], _) -> []. %% Message from the release_handler. -%% The list of modules got to be a set ! +%% The list of modules got to be a set, i.e. no duplicate elements! get_modules(MSL) -> Mods = [Handler#handler.module || Handler <- MSL], ordsets:to_list(ordsets:from_list(Mods)). |