From 00465551cdfc12a37260eb54b97b47b9bf599233 Mon Sep 17 00:00:00 2001 From: Magnus Date: Wed, 1 Sep 2021 18:40:24 +0200 Subject: [PATCH] Fix typo referring to a non-existing key (#204) --- lib/amqp/application/channel.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/amqp/application/channel.ex b/lib/amqp/application/channel.ex index 2406605..660516f 100644 --- a/lib/amqp/application/channel.ex +++ b/lib/amqp/application/channel.ex @@ -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)