Skip to content

Commit 5d2ef75

Browse files
committed
Fix pop_in
1 parent ebeedd5 commit 5d2ef75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_ice/priv/ice_agent.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ defmodule ExICE.Priv.ICEAgent do
10691069
on: #{inspect({local_cand.base.base_address, local_cand.base.base_port})} \
10701070
""")
10711071

1072-
{pair_id, ice_agent} = pop_in(ice_agent.keepalives, msg.transaction_id)
1072+
{pair_id, ice_agent} = pop_in(ice_agent.keepalives[msg.transaction_id])
10731073

10741074
pair = Map.fetch!(ice_agent.checklist, pair_id)
10751075
pair = %CandidatePair{pair | last_seen: now()}

0 commit comments

Comments
 (0)