From d4d1a636e607d85b6aff1e36cc787342b243394b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=9Aled=C5=BA?= Date: Wed, 27 Nov 2024 12:47:41 +0100 Subject: [PATCH] Fix crash on gathering transactions (#63) * Fix crash on gathering transactions * Update deps --------- Co-authored-by: Jakub Pisarek <99591440+sgfn@users.noreply.github.com> --- lib/ex_ice/priv/ice_agent.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ex_ice/priv/ice_agent.ex b/lib/ex_ice/priv/ice_agent.ex index 7e8bc53..a40857f 100644 --- a/lib/ex_ice/priv/ice_agent.ex +++ b/lib/ex_ice/priv/ice_agent.ex @@ -825,7 +825,8 @@ defmodule ExICE.Priv.ICEAgent do {:send, dst, data, client} -> cand = %{cand | client: client} ice_agent = put_in(ice_agent.local_cands[cand.base.id], cand) - do_send(ice_agent, cand, dst, data) + {_result, ice_agent} = do_send(ice_agent, cand, dst, data) + ice_agent {:error, _reason, client} -> Logger.debug("""