diff options
author | Siri Hansen <[email protected]> | 2014-10-08 16:05:32 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-10-08 16:05:32 +0200 |
commit | 16cc8947cfe756772059b842f4cd98295ec00b6a (patch) | |
tree | 3e78372f4a71f1f2bcd56275301ab7298351458a /lib | |
parent | a675467f2bba5c4e7fe643a46d3a48a3cf0b020a (diff) | |
parent | 8f6cff800da3161e41ee43437e1d074b66b68dd3 (diff) | |
download | otp-16cc8947cfe756772059b842f4cd98295ec00b6a.tar.gz otp-16cc8947cfe756772059b842f4cd98295ec00b6a.tar.bz2 otp-16cc8947cfe756772059b842f4cd98295ec00b6a.zip |
Merge branch 'siri/cuddle-with-tests' into maint
* siri/cuddle-with-tests:
[ct test] Explicitly unregister event receiver to avoid badarg
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common_test/test/ct_test_support.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common_test/test/ct_test_support.erl b/lib/common_test/test/ct_test_support.erl index 2e2b45d59f..746469584d 100644 --- a/lib/common_test/test/ct_test_support.erl +++ b/lib/common_test/test/ct_test_support.erl @@ -481,6 +481,7 @@ er_loop(Evs) -> From ! {event_receiver,lists:reverse(Evs)}, er_loop(Evs); stop -> + unregister(event_receiver), ok end. |