mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
core: handle client bind errors
When a client attempts to bind to an unexisting global, don't error but instead let the client know the object was removed.
This commit is contained in:
parent
7ad02f553a
commit
1e600713a5
6 changed files with 14 additions and 4 deletions
|
|
@ -760,6 +760,7 @@ link_bind_func (PinosGlobal *global,
|
|||
return SPA_RESULT_OK;
|
||||
|
||||
no_mem:
|
||||
pinos_log_error ("can't create link resource");
|
||||
pinos_core_notify_error (client->core_resource,
|
||||
client->core_resource->id,
|
||||
SPA_RESULT_NO_MEMORY,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue