summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-11-16 12:21:05 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-11-16 12:21:05 +0000
commit61f9eb7b33cbaa05cb64f0158a3bd40bd9f0c050 (patch)
tree191f562eb25fee8e75c524cb11b81dc4f9be2470
parent8a70f56318fc2dc9c053fea7113fd0370b853977 (diff)
downloadrabbitmq-server-61f9eb7b33cbaa05cb64f0158a3bd40bd9f0c050.tar.gz
fixme
-rw-r--r--src/rabbit_amqqueue_process.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index af634dc3..f87f5777 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -1043,7 +1043,8 @@ handle_call({notify_down, ChPid}, From, State) ->
%% are no longer visible by the time we send a response to the
%% client. The queue is ultimately deleted in terminate/2; if we
%% return stop with a reply, terminate/2 will be called by
- %% gen_server2 *before* the reply is sent.
+ %% gen_server2 *before* the reply is sent. FIXME: in case of a
+ %% delayed stop the reply is sent earlier.
case handle_ch_down(ChPid, State) of
{ok, State1} -> reply(ok, State1);
{stop, State1} -> stop(From, ok, State1)