We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9da7ca commit 68386adCopy full SHA for 68386ad
lib/ex_ice/priv/ice_agent.ex
@@ -1961,10 +1961,19 @@ defmodule ExICE.Priv.ICEAgent do
1961
other
1962
end
1963
1964
+ conn_checks =
1965
+ ice_agent.conn_checks
1966
+ |> Enum.reject(fn {_, conn_check} ->
1967
+ pair = Map.fetch!(ice_agent.checklist, conn_check.pair_id)
1968
+ pair.local_cand_id == local_cand.base.id
1969
+ end)
1970
+ |> Map.new()
1971
+
1972
%{
1973
ice_agent
1974
| local_cands: local_cands,
1975
selected_pair_id: selected_pair_id,
1976
+ conn_checks: conn_checks,
1977
checklist: Checklist.prune(ice_agent.checklist, local_cand),
1978
nominating?: nominating?
1979
}
0 commit comments