diff options
| author | Matthias Radestock <matthias@lshift.net> | 2008-12-23 14:26:25 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2008-12-23 14:26:25 +0000 |
| commit | e637be8f39a19e626064880a48d9c2285e3491f0 (patch) | |
| tree | 892a83b22d6d4bcc7eebbf10635da8d59dd24536 /src | |
| parent | b21c2dafbc4e35fe5c5963ead0f7b9b1419b886e (diff) | |
| download | rabbitmq-server-git-e637be8f39a19e626064880a48d9c2285e3491f0.tar.gz | |
correct handling of normal termination
this caused quite a few tests to fail
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 07d55d04e6..19104bcb90 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; |
