From 1dc7b247735e0c2a06e832a9f45a4ffabf4ba76b Mon Sep 17 00:00:00 2001 From: Chase Granberry Date: Tue, 26 Nov 2024 15:04:40 -0700 Subject: [PATCH] fix: cleanup --- lib/supavisor/client_handler.ex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/supavisor/client_handler.ex b/lib/supavisor/client_handler.ex index fd0d59a2..b1e06c61 100644 --- a/lib/supavisor/client_handler.ex +++ b/lib/supavisor/client_handler.ex @@ -629,8 +629,7 @@ defmodule Supavisor.ClientHandler do end # pool's manager went down - def handle_event(:info, {:DOWN, ref, _, _, reason}, state, %{manager: manager_ref} = data) - when ref == manager_ref do + def handle_event(:info, {:DOWN, ref, _, _, reason}, state, %{manager: ref} = data) do Logger.error( "ClientHandler: Manager #{inspect(data.manager)} went down #{inspect(reason)} state #{inspect(state)}" )