plugins: handle some fd allocation errors

This commit is contained in:
Wim Taymans 2026-05-05 11:36:45 +02:00
parent 09dda9e4e0
commit 96594d6716
9 changed files with 20 additions and 0 deletions

View file

@ -1392,6 +1392,8 @@ static void node_initialized(void *data)
impl->data_source.fd = spa_system_eventfd_create(data_system,
SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
if (impl->data_source.fd < 0)
return;
spa_loop_add_source(impl->data_loop, &impl->data_source);
pw_log_debug("%p: transport read-fd:%d write-fd:%d", impl,