diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-06-26 18:28:43 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-06-26 18:28:43 +0100 |
commit | 14f3091f8ff207620a12595ca003edbf8b85497e (patch) | |
tree | bc34ec31db57e9daf987d2a197b91230f25d4020 | |
parent | 398ae196b2376f17d161a1e8fc5775ddaedb5493 (diff) | |
download | rabbitmq-server-14f3091f8ff207620a12595ca003edbf8b85497e.tar.gz |
essentially cosmetic tweak
the result of terminate_and_shutdown is not needed, but it looks odd
to throw away State1 in one branch.
-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 c1fa048d..e388ccf2 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -220,7 +220,7 @@ terminate_shutdown(Fun, State) -> State1 = #q{backing_queue = BQ, backing_queue_state = BQS} = stop_sync_timer(stop_rate_timer(State)), case BQS of - undefined -> State; + undefined -> State1; _ -> ok = rabbit_memory_monitor:deregister(self()), BQS1 = lists:foldl( fun (#cr{txn = none}, BQSN) -> |