aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-06-03 16:52:23 +0200
committerIngela Anderton Andin <[email protected]>2014-06-03 16:52:23 +0200
commit3e82b3663a5be56acefb4a18a08f01976fbbb73e (patch)
tree462514141da45680f963913562dc7841bc3c0dcf /lib
parentae68f7e6ffcae1f6f44427795698611b89e0bfe7 (diff)
downloadotp-3e82b3663a5be56acefb4a18a08f01976fbbb73e.tar.gz
otp-3e82b3663a5be56acefb4a18a08f01976fbbb73e.tar.bz2
otp-3e82b3663a5be56acefb4a18a08f01976fbbb73e.zip
ssl: Workaround that gen_fsm does not call CB:format_status when CB:terminate
crashes.
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/src/tls_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index 3b89cf7b71..2ab085321a 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -323,7 +323,7 @@ handle_info(Msg, StateName, State) ->
%% Reason. The return value is ignored.
%%--------------------------------------------------------------------
terminate(Reason, StateName, State) ->
- ssl_connection:terminate(Reason, StateName, State).
+ catch ssl_connection:terminate(Reason, StateName, State).
%%--------------------------------------------------------------------
%% code_change(OldVsn, StateName, State, Extra) -> {ok, StateName, NewState}