diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 9da29b378e..d5a0ca38a7 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -548,6 +548,9 @@ handle_method(_Method, _, #ch{state = starting}) -> handle_method(#'channel.close_ok'{}, _, #ch{state = closing}) -> stop; +handle_method(#'channel.close'{}, _, State = #ch{state = closing}) -> + {reply, #'channel.close_ok'{}, State}; + handle_method(_Method, _, State = #ch{state = closing}) -> {noreply, State}; |
