summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2009-01-14 12:09:31 +0000
committerMatthias Radestock <matthias@lshift.net>2009-01-14 12:09:31 +0000
commit00c7b0249193201cf4e7eb209895802595c32684 (patch)
treee1fe1ce5c1554da35b211378dde1315ef8d1aaff
parenta8505e2361de1d8d758d7bc2b7aa1b7c5690a573 (diff)
downloadrabbitmq-server-00c7b0249193201cf4e7eb209895802595c32684.tar.gz
fix bug in handling of writer exit
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 9659d080..d508aa81 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -148,7 +148,7 @@ handle_cast({conserve_memory, Conserve}, State) ->
noreply(State).
handle_info({'EXIT', _Pid, Reason}, State) ->
- {noreply, Reason, State};
+ {stop, Reason, State};
handle_info(timeout, State) ->
%% TODO: Once we drop support for R11B-5, we can change this to