Commit 91befb1c authored by Olivier Crête's avatar Olivier Crête 👻
Browse files

agent: Return cancelled if sending is cancelled

parent 07af02cf
......@@ -2879,6 +2879,9 @@ nice_agent_send_full (
cancellable == NULL || G_IS_CANCELLABLE (cancellable), -1);
g_return_val_if_fail (error == NULL || *error == NULL, -1);
if (g_cancellable_set_error_if_cancelled (cancellable, error))
return -1;
agent_lock ();
if (!agent_find_component (agent, stream_id, component_id,
......
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