aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-10-08 16:05:32 +0200
committerSiri Hansen <[email protected]>2014-10-08 16:05:32 +0200
commit16cc8947cfe756772059b842f4cd98295ec00b6a (patch)
tree3e78372f4a71f1f2bcd56275301ab7298351458a /lib/common_test/test
parenta675467f2bba5c4e7fe643a46d3a48a3cf0b020a (diff)
parent8f6cff800da3161e41ee43437e1d074b66b68dd3 (diff)
downloadotp-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/common_test/test')
-rw-r--r--lib/common_test/test/ct_test_support.erl1
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.