summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2013-05-09 15:42:22 +0100
committerEmile Joubert <emile@rabbitmq.com>2013-05-09 15:42:22 +0100
commit2b06b4f4425b212a98dde5bb94a20fe343aa68ea (patch)
treeeb064b274b6ecda12a230e03e4a3bad998655982
parent8b560d061e9dd8872261a393d5987fb92173d8a1 (diff)
downloadrabbitmq-server-bug25549.tar.gz
Clear queue expiry timer ref when firedbug25549
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index 066392f8..d2f4a178 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -1356,7 +1356,7 @@ handle_cast(wake_up, State) ->
handle_info(maybe_expire, State) ->
case is_unused(State) of
true -> stop(State);
- false -> noreply(ensure_expiry_timer(State))
+ false -> noreply(State#q{expiry_timer_ref = undefined})
end;
handle_info(drop_expired, State) ->