diff options
author | Siri Hansen <[email protected]> | 2013-05-27 09:33:02 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-05-27 09:33:02 +0200 |
commit | 429e9d8ce78f7498e06e252e487c75cea6c585d4 (patch) | |
tree | 8ba4cb73888a1d55226085542f897824fd85d4fd /lib/common_test/src | |
parent | 3f7107a53d59a2dc35163e8c6119164dfb9e6822 (diff) | |
parent | 28f3a4a5713487cb6ade48f2d142d8c2d5b7ac6e (diff) | |
download | otp-429e9d8ce78f7498e06e252e487c75cea6c585d4.tar.gz otp-429e9d8ce78f7498e06e252e487c75cea6c585d4.tar.bz2 otp-429e9d8ce78f7498e06e252e487c75cea6c585d4.zip |
Merge branch 'siri/ct_telnet/no-more-after-timetrap/OTP-10648' into maint
* siri/ct_telnet/no-more-after-timetrap/OTP-10648:
[common_test] Unregister connection if killed
Diffstat (limited to 'lib/common_test/src')
-rw-r--r-- | lib/common_test/src/ct_util.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common_test/src/ct_util.erl b/lib/common_test/src/ct_util.erl index 6a8b37bf3b..b77845eb5b 100644 --- a/lib/common_test/src/ct_util.erl +++ b/lib/common_test/src/ct_util.erl @@ -421,6 +421,8 @@ loop(Mode,TestData,StartDir) -> "Reason: ~p\n\n", [Pid,A,CB,Reason]), catch CB:close(Pid), + %% in case CB:close failed to do this: + unregister_connection(Pid), loop(Mode,TestData,StartDir); _ -> %% Let process crash in case of error, this shouldn't happen! |