diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-09-10 17:13:16 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-09-10 17:13:16 +0100 |
commit | 7f2ba5f65e5d5a2b7dbd3b944f00abb3e8db70d4 (patch) | |
tree | a636c146a81c977a065e5bfeb583dec0080e46e1 /src | |
parent | 2c3a7a80dd38c07c190164546f29fbf2d5dc0400 (diff) | |
download | rabbitmq-server-7f2ba5f65e5d5a2b7dbd3b944f00abb3e8db70d4.tar.gz |
Tabs => spaces
Diffstat (limited to 'src')
-rw-r--r-- | src/gen_server2.erl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gen_server2.erl b/src/gen_server2.erl index 20f701bd..c5801527 100644 --- a/src/gen_server2.erl +++ b/src/gen_server2.erl @@ -957,21 +957,21 @@ terminate(Reason, Msg, #gs2_state { name = Name, state = State, debug = Debug }) -> case catch Mod:terminate(Reason, State) of - {'EXIT', R} -> - error_info(R, Reason, Name, Msg, State, Debug), - exit(R); - _ -> - case Reason of - normal -> - exit(normal); - shutdown -> - exit(shutdown); - {shutdown,_}=Shutdown -> - exit(Shutdown); - _ -> - error_info(Reason, undefined, Name, Msg, State, Debug), - exit(Reason) - end + {'EXIT', R} -> + error_info(R, Reason, Name, Msg, State, Debug), + exit(R); + _ -> + case Reason of + normal -> + exit(normal); + shutdown -> + exit(shutdown); + {shutdown,_}=Shutdown -> + exit(Shutdown); + _ -> + error_info(Reason, undefined, Name, Msg, State, Debug), + exit(Reason) + end end. error_info(_Reason, _RootCause, application_controller, _Msg, _State, _Debug) -> |