Commit b16da908 authored by Olivier Crête's avatar Olivier Crête

Unlock agent when emitting state-changed signal

parent b1e12668
......@@ -619,8 +619,10 @@ void agent_signal_component_state_change (NiceAgent *agent, guint stream_id, gui
stream_id, component_id, component->state, state);
component->state = state;
g_mutex_unlock (agent->mutex);
g_signal_emit (agent, signals[SIGNAL_COMPONENT_STATE_CHANGED], 0,
stream_id, component_id, component->state);
stream_id, component_id, state);
g_mutex_lock (agent->mutex);
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