diff options
author | Hans Bolinder <[email protected]> | 2017-03-02 14:58:52 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-03-02 14:58:52 +0100 |
commit | 60a24d2010c98c44d2bf44faca04756049487ec3 (patch) | |
tree | 9622f05c4d56a85ecfd8832aa5c883993d488a1b /lib/stdlib/src/gen_event.erl | |
parent | 654f7791bd4c1248ed78401ebeade0f98a2250b3 (diff) | |
parent | 369ef2ee5586e5cad2f16f0b8f956be011ba1550 (diff) | |
download | otp-60a24d2010c98c44d2bf44faca04756049487ec3.tar.gz otp-60a24d2010c98c44d2bf44faca04756049487ec3.tar.bz2 otp-60a24d2010c98c44d2bf44faca04756049487ec3.zip |
Merge branch 'maint'
* maint:
typer: Update runtime dependencies
dialyzer: Update runtime dependencies
Correct documentation of get_modules message
Diffstat (limited to 'lib/stdlib/src/gen_event.erl')
-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 4839fe4f2c..0aebf1bdc5 100644 --- a/lib/stdlib/src/gen_event.erl +++ b/lib/stdlib/src/gen_event.erl @@ -778,7 +778,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)). |