mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-04 23:20:46 +00: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
|
@ -863,6 +863,8 @@ static int do_sync(struct client *client)
|
|||
pw_log_warn("sync requested from callback");
|
||||
return 0;
|
||||
}
|
||||
if (client->error)
|
||||
return client->last_res;
|
||||
|
||||
client->pending_sync = pw_proxy_sync((struct pw_proxy*)client->core, client->pending_sync);
|
||||
|
||||
|
|
Loading…
Reference in a new issue