Skip to content

Commit d4d1a63

Browse files
mickel8sgfn
andauthored
Fix crash on gathering transactions (#63)
* Fix crash on gathering transactions * Update deps --------- Co-authored-by: Jakub Pisarek <[email protected]>
1 parent 5e88c90 commit d4d1a63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ex_ice/priv/ice_agent.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,8 @@ defmodule ExICE.Priv.ICEAgent do
825825
{:send, dst, data, client} ->
826826
cand = %{cand | client: client}
827827
ice_agent = put_in(ice_agent.local_cands[cand.base.id], cand)
828-
do_send(ice_agent, cand, dst, data)
828+
{_result, ice_agent} = do_send(ice_agent, cand, dst, data)
829+
ice_agent
829830

830831
{:error, _reason, client} ->
831832
Logger.debug("""

0 commit comments

Comments
 (0)