diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 79cae8e053..0bc7fa09ba 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -855,8 +855,8 @@ handle_method(#'channel.flow'{active = false}, _, end; handle_method(#'channel.flow_ok'{active = Active}, _, - State = #ch{flow = F = #flow{server = Active, client = Flow, - pending = {_Ref, TRef}}}) + State = #ch{flow = #flow{server = Active, client = Flow, + pending = {_Ref, TRef}} = F}) when Flow =:= not Active -> {ok, cancel} = timer:cancel(TRef), {noreply, State#ch{flow = F#flow{client = Active, pending = none}}}; |
