mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
jack: on do shutdown on EPIPE
There are core errors that should not trigger a shutdown, like invalid or destroyed proxy replies. Only do shutdown when we get EPIPE, which is when the server is stopped. See #3070
This commit is contained in:
parent
8cfa5ccd79
commit
84a6f38ea6
1 changed files with 1 additions and 1 deletions
|
|
@ -850,7 +850,7 @@ static void on_error(void *data, uint32_t id, int seq, int res, const char *mess
|
|||
|
||||
if (id == PW_ID_CORE) {
|
||||
client->last_res = res;
|
||||
if (!client->destroyed)
|
||||
if (res == -EPIPE && !client->destroyed)
|
||||
do_callback(client, shutdown_callback, client->shutdown_arg);
|
||||
}
|
||||
pw_thread_loop_signal(client->context.loop, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue