Commit 047455fe authored by Jakub Adam's avatar Jakub Adam

component_io_cb: Avoid potential deadlock

Don't unref NiceAgent while holding agent mutex. If it's the last
reference, nice_agent_dispose() will try to acquire the mutex again and
parent 74a32018
Pipeline #16714 passed with stages
in 2 minutes and 54 seconds
......@@ -5387,9 +5387,10 @@ done:
return !remove_source;
agent_unlock_and_emit (agent);
g_object_unref (agent);
agent_unlock_and_emit (agent);
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