diff options
author | Ingela Anderton Andin <ingela@erlang.org> | 2014-06-03 16:52:23 +0200 |
---|---|---|
committer | Ingela Anderton Andin <ingela@erlang.org> | 2014-06-03 16:52:23 +0200 |
commit | 3e82b3663a5be56acefb4a18a08f01976fbbb73e (patch) | |
tree | 462514141da45680f963913562dc7841bc3c0dcf /lib/ssl/src/tls_connection.erl | |
parent | ae68f7e6ffcae1f6f44427795698611b89e0bfe7 (diff) | |
download | otp-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/ssl/src/tls_connection.erl')
-rw-r--r-- | lib/ssl/src/tls_connection.erl | 2 |
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} |