Commit 685cf0b4 authored by Olivier Crête's avatar Olivier Crête

agent: Clear GSource timeout also for GUPnP timeout

Fix regressions introduced by the following patch:
Clear existing GSource timeouts before adding new ones
parent b98b98ad
......@@ -2618,7 +2618,7 @@ nice_agent_gather_candidates (
if (agent->upnp_enabled) {
agent->upnp = gupnp_simple_igd_thread_new ();
agent->upnp_timer_source = agent_timeout_add_with_context (agent,
agent_timeout_add_with_context (agent, &agent->upnp_timer_source,
"UPnP timeout", agent->upnp_timeout, priv_upnp_timeout_cb, agent);
if (agent->upnp) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment