mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
jack: exit do_sync when in error
When we are already in error, return the error right away.
This commit is contained in:
parent
7506d12b07
commit
3a5c2ec623
1 changed files with 2 additions and 0 deletions
|
|
@ -863,6 +863,8 @@ static int do_sync(struct client *client)
|
||||||
pw_log_warn("sync requested from callback");
|
pw_log_warn("sync requested from callback");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
if (client->error)
|
||||||
|
return client->last_res;
|
||||||
|
|
||||||
client->pending_sync = pw_proxy_sync((struct pw_proxy*)client->core, client->pending_sync);
|
client->pending_sync = pw_proxy_sync((struct pw_proxy*)client->core, client->pending_sync);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue