diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2010-12-17 16:52:10 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-12-17 16:52:10 +0000 |
| commit | da082d1a4ad4bd73a6a6f1c4bf4dbf11c823cef6 (patch) | |
| tree | 39ec3ecae39ac3c61bc3bd4c077958a01dc2c760 | |
| parent | b0961fe47618356c79c63f73fe6e33392feca102 (diff) | |
| download | rabbitmq-server-git-da082d1a4ad4bd73a6a6f1c4bf4dbf11c823cef6.tar.gz | |
fix bug in consumer_delete event emission on queue termination
This caused rabbit_mgmt_db to explode as it attemps to format a
consumer tag as a pid.
| -rw-r--r-- | src/rabbit_amqqueue_process.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index 523f7c5e78..981dd31daa 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -200,7 +200,7 @@ terminate_shutdown(Fun, State) -> BQSN1 end, BQS, all_ch_record()), [emit_consumer_deleted(Ch, CTag) - || {CTag, Ch, _} <- consumers(State1)], + || {Ch, CTag, _} <- consumers(State1)], rabbit_event:notify(queue_deleted, [{pid, self()}]), State1#q{backing_queue_state = Fun(BQS1)} end. |
