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 | ce16080dd9a3f0a7082240f08c7d76a86939391b (patch) | |
| tree | bc34ec31db57e9daf987d2a197b91230f25d4020 | |
| parent | 993823e6dc482b414725067124c5202fc10e1cf2 (diff) | |
| download | rabbitmq-server-git-ce16080dd9a3f0a7082240f08c7d76a86939391b.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 c1fa048dba..e388ccf203 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) -> |
