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
commitd30daa5b4d04c48b61e4307332df57f665d97752 (patch)
treeeb064b274b6ecda12a230e03e4a3bad998655982
parent3c717c4ed24f7d0b398f46edaf4cbb457a1dcdac (diff)
downloadrabbitmq-server-git-d30daa5b4d04c48b61e4307332df57f665d97752.tar.gz
Clear queue expiry timer ref when fired
-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 066392f81c..d2f4a178d5 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) ->