Skip to content

Commit

Permalink
Fix typo referring to a non-existing key (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
evnu authored Sep 1, 2021
1 parent 1f01915 commit 0046555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/amqp/application/channel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ defmodule AMQP.Application.Channel do
%{state | channel: nil, monitor_ref: nil}
end

defp close(%{channel: %Channel{} = channel, monior_ref: ref}) do
defp close(%{channel: %Channel{} = channel, monitor_ref: ref}) do
if Process.alive?(channel.pid) do
Process.demonitor(ref)
Channel.close(channel)
Expand Down

0 comments on commit 0046555

Please sign in to comment.