diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-12-03 16:03:28 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-12-03 16:03:28 +0000 |
commit | b11144590ed2c17d550a6ffd0ff10ef3af595949 (patch) | |
tree | a524a77bfb00acd9ecf61373176d5a68f00fe63e | |
parent | 6b14509b53eb6a535a707fc91e280c3e00796080 (diff) | |
download | rabbitmq-server-b11144590ed2c17d550a6ffd0ff10ef3af595949.tar.gz |
Fix
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index c28524b1..e62aad69 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -543,7 +543,8 @@ remove_consumer(ChPid, ConsumerTag, Queue) -> remove_consumers(ChPid, Queue) -> {Kept, Removed} = split_by_channel(ChPid, Queue), - [emit_consumer_deleted(CTag, Ch) || {Ch, #consumer{tag = CTag}} <- Removed], + [emit_consumer_deleted(CTag, Ch) + || {Ch, #consumer{tag = CTag}} <- queue:to_list(Removed)], Kept. move_consumers(ChPid, From, To) -> |