diff options
| -rw-r--r-- | src/rabbit_channel.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 2ff337f822..0c8786177f 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -1169,7 +1169,7 @@ incr_stats(QXCounts, Item, State = #ch{queue_exchange_stats = Stats}) -> {Q, _X} -> Q; Q -> Q end, - case dict:is_key(QPid, Stats) of + case dict:is_key(QPid, Stats0) of false -> erlang:monitor(process, QPid); _ -> ok end, |
