mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-16 22:05:31 -05:00
Merge branch 'pulse-eproto' into 'master'
pulse-server: disconnect from server on EPROTO Closes #5099 See merge request pipewire/pipewire!2679
This commit is contained in:
commit
108cbdb7e1
1 changed files with 1 additions and 1 deletions
|
|
@ -718,7 +718,7 @@ static void on_core_error(void *data, uint32_t id, int seq, int res, const char
|
|||
{
|
||||
struct manager *m = data;
|
||||
|
||||
if (id == PW_ID_CORE && res == -EPIPE) {
|
||||
if (id == PW_ID_CORE && (res == -EPIPE || res == -EPROTO)) {
|
||||
pw_log_debug("connection error: %d, %s", res, message);
|
||||
manager_emit_disconnect(m);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue