mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
system: use spa_system functions for fds
This commit is contained in:
parent
b14bb1f496
commit
68e94a2e7e
16 changed files with 96 additions and 60 deletions
|
|
@ -627,7 +627,7 @@ static void loop_destroy_source(void *object, struct spa_source *source)
|
|||
loop_remove_source(impl->impl, source);
|
||||
|
||||
if (source->fd != -1 && impl->close) {
|
||||
close(source->fd);
|
||||
spa_system_close(impl->impl->system, source->fd);
|
||||
source->fd = -1;
|
||||
}
|
||||
spa_list_insert(&impl->impl->destroy_list, &impl->link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue