diff options
-rw-r--r-- | src/rabbit_channel.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 0f8266dc..0544d32e 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -580,11 +580,10 @@ handle_method(#'queue.bind'{queue = QueueNameBin, handle_method(#'queue.unbind'{queue = QueueNameBin, exchange = ExchangeNameBin, routing_key = RoutingKey, - arguments = Arguments, - nowait = NoWait}, _, State) -> + arguments = Arguments}, _, State) -> binding_action(fun rabbit_amqqueue:delete_binding/4, ExchangeNameBin, QueueNameBin, RoutingKey, Arguments, #'queue.unbind_ok'{}, - NoWait, State); + false, State); handle_method(#'queue.purge'{queue = QueueNameBin, nowait = NoWait}, |