summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-12-23 14:26:25 +0000
committerMatthias Radestock <matthias@lshift.net>2008-12-23 14:26:25 +0000
commit050477dcc9ad48f238edf238240a837a38a6ad46 (patch)
tree892a83b22d6d4bcc7eebbf10635da8d59dd24536
parentfd7a2f9525702e8920a956111bb4adcc2b57ae24 (diff)
downloadrabbitmq-server-bug20047.tar.gz
correct handling of normal terminationbug20047
this caused quite a few tests to fail
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 07d55d04..19104bcb 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -126,6 +126,8 @@ handle_message({method, Method, Content}, State) ->
terminate({amqp, Error, Explanation,
rabbit_misc:method_record_type(Method)},
State);
+ exit:normal ->
+ terminate(normal, State);
_:Reason ->
terminate({Reason, erlang:get_stacktrace()}, State)
end;